Skip to content

Commit

Permalink
Update generated sources to 10.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot authored and nielsvanvelzen committed Jun 11, 2022
1 parent 0d038f9 commit 1274eb3
Show file tree
Hide file tree
Showing 18 changed files with 142 additions and 243 deletions.
24 changes: 12 additions & 12 deletions jellyfin-api/api/jellyfin-api.api

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ public class ItemsApi(
* @param hasImdbId Optional filter by items that have an imdb id or not.
* @param hasTmdbId Optional filter by items that have a tmdb id or not.
* @param hasTvdbId Optional filter by items that have a tvdb id or not.
* @param isMovie Optional filter for live tv movies.
* @param isSeries Optional filter for live tv series.
* @param isNews Optional filter for live tv news.
* @param isKids Optional filter for live tv kids.
* @param isSports Optional filter for live tv sports.
* @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids.
* This allows multiple, comma delimited.
* @param startIndex Optional. The record index to start at. All items with a lower index will be
Expand Down Expand Up @@ -184,6 +189,11 @@ public class ItemsApi(
hasImdbId: Boolean? = null,
hasTmdbId: Boolean? = null,
hasTvdbId: Boolean? = null,
isMovie: Boolean? = null,
isSeries: Boolean? = null,
isNews: Boolean? = null,
isKids: Boolean? = null,
isSports: Boolean? = null,
excludeItemIds: Collection<UUID>? = emptyList(),
startIndex: Int? = null,
limit: Int? = null,
Expand Down Expand Up @@ -267,6 +277,11 @@ public class ItemsApi(
queryParameters["hasImdbId"] = hasImdbId
queryParameters["hasTmdbId"] = hasTmdbId
queryParameters["hasTvdbId"] = hasTvdbId
queryParameters["isMovie"] = isMovie
queryParameters["isSeries"] = isSeries
queryParameters["isNews"] = isNews
queryParameters["isKids"] = isKids
queryParameters["isSports"] = isSports
queryParameters["excludeItemIds"] = excludeItemIds
queryParameters["startIndex"] = startIndex
queryParameters["limit"] = limit
Expand Down Expand Up @@ -342,9 +357,9 @@ public class ItemsApi(
* @param isHd Optional filter by items that are HD or not.
* @param is4k Optional filter by items that are 4K or not.
* @param locationTypes Optional. If specified, results will be filtered based on LocationType.
* This allows multiple, comma delimeted.
* This allows multiple, comma delimited.
* @param excludeLocationTypes Optional. If specified, results will be filtered based on the
* LocationType. This allows multiple, comma delimeted.
* LocationType. This allows multiple, comma delimited.
* @param isMissing Optional filter by items that are missing episodes or not.
* @param isUnaired Optional filter by items that are unaired episodes or not.
* @param minCommunityRating Optional filter by minimum community rating.
Expand All @@ -358,8 +373,13 @@ public class ItemsApi(
* @param hasImdbId Optional filter by items that have an imdb id or not.
* @param hasTmdbId Optional filter by items that have a tmdb id or not.
* @param hasTvdbId Optional filter by items that have a tvdb id or not.
* @param excludeItemIds Optional. If specified, results will be filtered by exxcluding item ids.
* This allows multiple, comma delimeted.
* @param isMovie Optional filter for live tv movies.
* @param isSeries Optional filter for live tv series.
* @param isNews Optional filter for live tv news.
* @param isKids Optional filter for live tv kids.
* @param isSports Optional filter for live tv sports.
* @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids.
* This allows multiple, comma delimited.
* @param startIndex Optional. The record index to start at. All items with a lower index will be
* dropped from the results.
* @param limit Optional. The maximum number of records to return.
Expand All @@ -370,32 +390,32 @@ public class ItemsApi(
* @param parentId Specify this to localize the search to a specific item or folder. Omit to use
* the root.
* @param fields Optional. Specify additional fields of information to return in the output. This
* allows multiple, comma delimeted. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl,
* allows multiple, comma delimited. Options: Budget, Chapters, DateCreated, Genres, HomePageUrl,
* IndexOptions, MediaStreams, Overview, ParentId, Path, People, ProviderIds, PrimaryImageAspectRatio,
* Revenue, SortName, Studios, Taglines.
* @param excludeItemTypes Optional. If specified, results will be filtered based on item type.
* This allows multiple, comma delimeted.
* This allows multiple, comma delimited.
* @param includeItemTypes Optional. If specified, results will be filtered based on the item type.
* This allows multiple, comma delimeted.
* This allows multiple, comma delimited.
* @param filters Optional. Specify additional filters to apply. This allows multiple, comma
* delimeted. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes,
* delimited. Options: IsFolder, IsNotFolder, IsUnplayed, IsPlayed, IsFavorite, IsResumable, Likes,
* Dislikes.
* @param isFavorite Optional filter by items that are marked as favorite, or not.
* @param mediaTypes Optional filter by MediaType. Allows multiple, comma delimited.
* @param imageTypes Optional. If specified, results will be filtered based on those containing
* image types. This allows multiple, comma delimited.
* @param sortBy Optional. Specify one or more sort orders, comma delimeted. Options: Album,
* @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.
* @param isPlayed Optional filter by items that are played, or not.
* @param genres Optional. If specified, results will be filtered based on genre. This allows
* multiple, pipe delimeted.
* multiple, pipe delimited.
* @param officialRatings Optional. If specified, results will be filtered based on OfficialRating.
* This allows multiple, pipe delimeted.
* This allows multiple, pipe delimited.
* @param tags Optional. If specified, results will be filtered based on tag. This allows multiple,
* pipe delimeted.
* pipe delimited.
* @param years Optional. If specified, results will be filtered based on production year. This
* allows multiple, comma delimeted.
* allows multiple, comma delimited.
* @param enableUserData Optional, include user data.
* @param imageTypeLimit Optional, the max number of images to return, per image type.
* @param enableImageTypes Optional. The image types to include in the output.
Expand All @@ -407,25 +427,25 @@ public class ItemsApi(
* include only those containing the specified person and PersonType. Allows multiple,
* comma-delimited.
* @param studios Optional. If specified, results will be filtered based on studio. This allows
* multiple, pipe delimeted.
* multiple, pipe delimited.
* @param artists Optional. If specified, results will be filtered based on artists. This allows
* multiple, pipe delimeted.
* multiple, pipe delimited.
* @param excludeArtistIds Optional. If specified, results will be filtered based on artist id.
* This allows multiple, pipe delimeted.
* This allows multiple, pipe delimited.
* @param artistIds Optional. If specified, results will be filtered to include only those
* containing the specified artist id.
* @param albumArtistIds Optional. If specified, results will be filtered to include only those
* containing the specified album artist id.
* @param contributingArtistIds Optional. If specified, results will be filtered to include only
* those containing the specified contributing artist id.
* @param albums Optional. If specified, results will be filtered based on album. This allows
* multiple, pipe delimeted.
* multiple, pipe delimited.
* @param albumIds Optional. If specified, results will be filtered based on album id. This allows
* multiple, pipe delimeted.
* multiple, pipe delimited.
* @param ids Optional. If specific items are needed, specify a list of item id's to retrieve. This
* allows multiple, comma delimited.
* @param videoTypes Optional filter by VideoType (videofile, dvd, bluray, iso). Allows multiple,
* comma delimeted.
* comma delimited.
* @param minOfficialRating Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).
* @param isLocked Optional filter by items that are locked.
* @param isPlaceHolder Optional filter by items that are placeholders.
Expand All @@ -436,17 +456,17 @@ public class ItemsApi(
* @param maxWidth Optional. Filter by the maximum width of the item.
* @param maxHeight Optional. Filter by the maximum height of the item.
* @param is3d Optional filter by items that are 3D, or not.
* @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimeted.
* @param seriesStatus Optional filter by Series Status. Allows multiple, comma delimited.
* @param nameStartsWithOrGreater Optional filter by items whose name is sorted equally or greater
* than a given input string.
* @param nameStartsWith Optional filter by items whose name is sorted equally than a given input
* string.
* @param nameLessThan Optional filter by items whose name is equally or lesser than a given input
* string.
* @param studioIds Optional. If specified, results will be filtered based on studio id. This
* allows multiple, pipe delimeted.
* allows multiple, pipe delimited.
* @param genreIds Optional. If specified, results will be filtered based on genre id. This allows
* multiple, pipe delimeted.
* multiple, pipe delimited.
* @param enableTotalRecordCount Optional. Enable the total record count.
* @param enableImages Optional, include image information in output.
*/
Expand Down Expand Up @@ -477,6 +497,11 @@ public class ItemsApi(
hasImdbId: Boolean? = null,
hasTmdbId: Boolean? = null,
hasTvdbId: Boolean? = null,
isMovie: Boolean? = null,
isSeries: Boolean? = null,
isNews: Boolean? = null,
isKids: Boolean? = null,
isSports: Boolean? = null,
excludeItemIds: Collection<UUID>? = emptyList(),
startIndex: Int? = null,
limit: Int? = null,
Expand Down Expand Up @@ -560,6 +585,11 @@ public class ItemsApi(
queryParameters["hasImdbId"] = hasImdbId
queryParameters["hasTmdbId"] = hasTmdbId
queryParameters["hasTvdbId"] = hasTvdbId
queryParameters["isMovie"] = isMovie
queryParameters["isSeries"] = isSeries
queryParameters["isNews"] = isNews
queryParameters["isKids"] = isKids
queryParameters["isSports"] = isSports
queryParameters["excludeItemIds"] = excludeItemIds
queryParameters["startIndex"] = startIndex
queryParameters["limit"] = limit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import org.jellyfin.sdk.api.client.extensions.post
import org.jellyfin.sdk.model.UUID
import org.jellyfin.sdk.model.api.BasePluginConfiguration
import org.jellyfin.sdk.model.api.PluginInfo
import org.jellyfin.sdk.model.api.Version

public class PluginsApi(
private val api: ApiClient,
Expand All @@ -33,7 +32,7 @@ public class PluginsApi(
* @param pluginId Plugin id.
* @param version Plugin version.
*/
public suspend fun disablePlugin(pluginId: UUID, version: Version): Response<Unit> {
public suspend fun disablePlugin(pluginId: UUID, version: String): Response<Unit> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["pluginId"] = pluginId
pathParameters["version"] = version
Expand All @@ -50,7 +49,7 @@ public class PluginsApi(
* @param pluginId Plugin id.
* @param version Plugin version.
*/
public suspend fun enablePlugin(pluginId: UUID, version: Version): Response<Unit> {
public suspend fun enablePlugin(pluginId: UUID, version: String): Response<Unit> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["pluginId"] = pluginId
pathParameters["version"] = version
Expand Down Expand Up @@ -82,7 +81,7 @@ public class PluginsApi(
* @param pluginId Plugin id.
* @param version Plugin version.
*/
public suspend fun getPluginImage(pluginId: UUID, version: Version): Response<ByteReadChannel> {
public suspend fun getPluginImage(pluginId: UUID, version: String): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["pluginId"] = pluginId
pathParameters["version"] = version
Expand All @@ -102,7 +101,7 @@ public class PluginsApi(
*/
public fun getPluginImageUrl(
pluginId: UUID,
version: Version,
version: String,
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
Expand Down Expand Up @@ -160,7 +159,7 @@ public class PluginsApi(
* @param pluginId Plugin id.
* @param version Plugin version.
*/
public suspend fun uninstallPluginByVersion(pluginId: UUID, version: Version): Response<Unit> {
public suspend fun uninstallPluginByVersion(pluginId: UUID, version: String): Response<Unit> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["pluginId"] = pluginId
pathParameters["version"] = version
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ public class TrailersApi(
* @param hasImdbId Optional filter by items that have an imdb id or not.
* @param hasTmdbId Optional filter by items that have a tmdb id or not.
* @param hasTvdbId Optional filter by items that have a tvdb id or not.
* @param isMovie Optional filter for live tv movies.
* @param isSeries Optional filter for live tv series.
* @param isNews Optional filter for live tv news.
* @param isKids Optional filter for live tv kids.
* @param isSports Optional filter for live tv sports.
* @param excludeItemIds Optional. If specified, results will be filtered by excluding item ids.
* This allows multiple, comma delimited.
* @param startIndex Optional. The record index to start at. All items with a lower index will be
Expand Down Expand Up @@ -181,6 +186,11 @@ public class TrailersApi(
hasImdbId: Boolean? = null,
hasTmdbId: Boolean? = null,
hasTvdbId: Boolean? = null,
isMovie: Boolean? = null,
isSeries: Boolean? = null,
isNews: Boolean? = null,
isKids: Boolean? = null,
isSports: Boolean? = null,
excludeItemIds: Collection<UUID>? = emptyList(),
startIndex: Int? = null,
limit: Int? = null,
Expand Down Expand Up @@ -263,6 +273,11 @@ public class TrailersApi(
queryParameters["hasImdbId"] = hasImdbId
queryParameters["hasTmdbId"] = hasTmdbId
queryParameters["hasTvdbId"] = hasTvdbId
queryParameters["isMovie"] = isMovie
queryParameters["isSeries"] = isSeries
queryParameters["isNews"] = isNews
queryParameters["isKids"] = isKids
queryParameters["isSports"] = isSports
queryParameters["excludeItemIds"] = excludeItemIds
queryParameters["startIndex"] = startIndex
queryParameters["limit"] = limit
Expand Down
Loading

0 comments on commit 1274eb3

Please sign in to comment.