Skip to content

Commit

Permalink
Update OpenAPI to unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot committed Dec 23, 2024
1 parent a748118 commit e97fd23
Show file tree
Hide file tree
Showing 9 changed files with 105 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ package org.jellyfin.sdk.api.info
import kotlin.String

public object ApiConstants {
public const val apiVersion: String = "10.10.3"
public const val apiVersion: String = "10.11.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ public class LiveTvApi(
}

/**
* Get guid info.
* Get guide info.
*/
public suspend fun getGuideInfo(): Response<GuideInfo> {
val pathParameters = emptyMap<String, Any?>()
Expand Down
62 changes: 40 additions & 22 deletions jellyfin-model/api/jellyfin-model.api
Original file line number Diff line number Diff line change
Expand Up @@ -4248,7 +4248,7 @@ public final class org/jellyfin/sdk/model/api/LibraryOptions {
public final fun getExtractTrickplayImagesDuringLibraryScan ()Z
public final fun getLocalMetadataReaderOrder ()Ljava/util/List;
public final fun getLyricFetcherOrder ()Ljava/util/List;
public final fun getMediaSegmentProvideOrder ()Ljava/util/List;
public final fun getMediaSegmentProviderOrder ()Ljava/util/List;
public final fun getMetadataCountryCode ()Ljava/lang/String;
public final fun getMetadataSavers ()Ljava/util/List;
public final fun getPathInfos ()Ljava/util/List;
Expand Down Expand Up @@ -4287,16 +4287,18 @@ public final class org/jellyfin/sdk/model/api/LibraryOptions$Companion {

public final class org/jellyfin/sdk/model/api/LibraryOptionsResultDto {
public static final field Companion Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto$Companion;
public fun <init> (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
public fun <init> (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)V
public final fun component1 ()Ljava/util/List;
public final fun component2 ()Ljava/util/List;
public final fun component3 ()Ljava/util/List;
public final fun component4 ()Ljava/util/List;
public final fun component5 ()Ljava/util/List;
public final fun copy (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public final fun component6 ()Ljava/util/List;
public final fun copy (Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/LibraryOptionsResultDto;
public fun equals (Ljava/lang/Object;)Z
public final fun getLyricFetchers ()Ljava/util/List;
public final fun getMediaSegmentProviders ()Ljava/util/List;
public final fun getMetadataReaders ()Ljava/util/List;
public final fun getMetadataSavers ()Ljava/util/List;
public final fun getSubtitleFetchers ()Ljava/util/List;
Expand Down Expand Up @@ -9025,8 +9027,8 @@ public final class org/jellyfin/sdk/model/api/SeriesTimerInfoDtoQueryResult$Comp

public final class org/jellyfin/sdk/model/api/ServerConfiguration {
public static final field Companion Lorg/jellyfin/sdk/model/api/ServerConfiguration$Companion;
public fun <init> (IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;)V
public synthetic fun <init> (IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;)V
public synthetic fun <init> (IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()I
public final fun component10 ()Z
public final fun component11 ()Z
Expand Down Expand Up @@ -9070,19 +9072,18 @@ public final class org/jellyfin/sdk/model/api/ServerConfiguration {
public final fun component46 ()I
public final fun component47 ()I
public final fun component48 ()Z
public final fun component49 ()Z
public final fun component49 ()I
public final fun component5 ()Ljava/lang/String;
public final fun component50 ()I
public final fun component51 ()Lorg/jellyfin/sdk/model/api/ImageResolution;
public final fun component52 ()I
public final fun component53 ()Ljava/util/List;
public final fun component54 ()Lorg/jellyfin/sdk/model/api/TrickplayOptions;
public final fun component50 ()Lorg/jellyfin/sdk/model/api/ImageResolution;
public final fun component51 ()I
public final fun component52 ()Ljava/util/List;
public final fun component53 ()Lorg/jellyfin/sdk/model/api/TrickplayOptions;
public final fun component6 ()Z
public final fun component7 ()Z
public final fun component8 ()Z
public final fun component9 ()Z
public final fun copy (IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;)Lorg/jellyfin/sdk/model/api/ServerConfiguration;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/ServerConfiguration;IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;IILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/ServerConfiguration;
public final fun copy (IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;)Lorg/jellyfin/sdk/model/api/ServerConfiguration;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/ServerConfiguration;IZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZZZZLjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/List;Ljava/util/List;Ljava/util/List;IIIIIIIILorg/jellyfin/sdk/model/api/ImageSavingConvention;Ljava/util/List;ZLjava/lang/String;Ljava/lang/String;ZLjava/util/List;IZZZLjava/util/List;Ljava/util/List;ZILjava/util/List;ZJLjava/util/List;Ljava/lang/Integer;IIZILorg/jellyfin/sdk/model/api/ImageResolution;ILjava/util/List;Lorg/jellyfin/sdk/model/api/TrickplayOptions;IILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/ServerConfiguration;
public fun equals (Ljava/lang/Object;)Z
public final fun getActivityLogRetentionDays ()Ljava/lang/Integer;
public final fun getAllowClientLogUpload ()Z
Expand Down Expand Up @@ -9126,7 +9127,6 @@ public final class org/jellyfin/sdk/model/api/ServerConfiguration {
public final fun getPreviousVersionStr ()Ljava/lang/String;
public final fun getQuickConnectAvailable ()Z
public final fun getRemoteClientBitrateLimit ()I
public final fun getRemoveOldPlugins ()Z
public final fun getSaveMetadataHidden ()Z
public final fun getServerName ()Ljava/lang/String;
public final fun getSkipDeserializationForBasicTypes ()Z
Expand Down Expand Up @@ -10266,22 +10266,21 @@ public final class org/jellyfin/sdk/model/api/TaskState$Companion {

public final class org/jellyfin/sdk/model/api/TaskTriggerInfo {
public static final field Companion Lorg/jellyfin/sdk/model/api/TaskTriggerInfo$Companion;
public fun <init> ()V
public fun <init> (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/lang/String;
public fun <init> (Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;)V
public synthetic fun <init> (Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public final fun component2 ()Ljava/lang/Long;
public final fun component3 ()Ljava/lang/Long;
public final fun component4 ()Lorg/jellyfin/sdk/model/api/DayOfWeek;
public final fun component5 ()Ljava/lang/Long;
public final fun copy (Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfo;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/TaskTriggerInfo;Ljava/lang/String;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfo;
public final fun copy (Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfo;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/TaskTriggerInfo;Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;Ljava/lang/Long;Ljava/lang/Long;Lorg/jellyfin/sdk/model/api/DayOfWeek;Ljava/lang/Long;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfo;
public fun equals (Ljava/lang/Object;)Z
public final fun getDayOfWeek ()Lorg/jellyfin/sdk/model/api/DayOfWeek;
public final fun getIntervalTicks ()Ljava/lang/Long;
public final fun getMaxRuntimeTicks ()Ljava/lang/Long;
public final fun getTimeOfDayTicks ()Ljava/lang/Long;
public final fun getType ()Ljava/lang/String;
public final fun getType ()Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public fun hashCode ()I
public fun toString ()Ljava/lang/String;
}
Expand All @@ -10301,6 +10300,25 @@ public final class org/jellyfin/sdk/model/api/TaskTriggerInfo$Companion {
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/jellyfin/sdk/model/api/TaskTriggerInfoType : java/lang/Enum {
public static final field Companion Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType$Companion;
public static final field DAILY_TRIGGER Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public static final field INTERVAL_TRIGGER Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public static final field STARTUP_TRIGGER Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public static final field WEEKLY_TRIGGER Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public static fun getEntries ()Lkotlin/enums/EnumEntries;
public final fun getSerialName ()Ljava/lang/String;
public fun toString ()Ljava/lang/String;
public static fun valueOf (Ljava/lang/String;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public static fun values ()[Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
}

public final class org/jellyfin/sdk/model/api/TaskTriggerInfoType$Companion {
public final fun fromName (Ljava/lang/String;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public final fun fromNameOrNull (Ljava/lang/String;)Lorg/jellyfin/sdk/model/api/TaskTriggerInfoType;
public final fun serializer ()Lkotlinx/serialization/KSerializer;
}

public final class org/jellyfin/sdk/model/api/ThemeMediaResult {
public static final field Companion Lorg/jellyfin/sdk/model/api/ThemeMediaResult$Companion;
public fun <init> (Ljava/util/List;IILjava/util/UUID;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ public data class LibraryOptions(
public val subtitleFetcherOrder: List<String>,
@SerialName("DisabledMediaSegmentProviders")
public val disabledMediaSegmentProviders: List<String>,
@SerialName("MediaSegmentProvideOrder")
public val mediaSegmentProvideOrder: List<String>,
@SerialName("MediaSegmentProviderOrder")
public val mediaSegmentProviderOrder: List<String>,
@SerialName("SkipSubtitlesIfEmbeddedSubtitlesPresent")
public val skipSubtitlesIfEmbeddedSubtitlesPresent: Boolean,
@SerialName("SkipSubtitlesIfAudioTrackMatches")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ public data class LibraryOptionsResultDto(
*/
@SerialName("LyricFetchers")
public val lyricFetchers: List<LibraryOptionInfoDto>,
/**
* The list of MediaSegment Providers.
*/
@SerialName("MediaSegmentProviders")
public val mediaSegmentProviders: List<LibraryOptionInfoDto>,
/**
* The type options.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,6 @@ public data class ServerConfiguration(
*/
@SerialName("LibraryMetadataRefreshConcurrency")
public val libraryMetadataRefreshConcurrency: Int,
/**
* A value indicating whether older plugins should automatically be deleted from the plugin folder.
*/
@SerialName("RemoveOldPlugins")
public val removeOldPlugins: Boolean,
/**
* A value indicating whether clients should be allowed to upload logs.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
package org.jellyfin.sdk.model.api

import kotlin.Long
import kotlin.String
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

Expand All @@ -19,7 +18,7 @@ public data class TaskTriggerInfo(
* The type.
*/
@SerialName("Type")
public val type: String? = null,
public val type: TaskTriggerInfoType,
/**
* The time of day.
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
// !! WARNING
// !! DO NOT EDIT THIS FILE
//
// This file is generated by the openapi-generator module and is not meant for manual changes.
// Please read the README.md file in the openapi-generator module for additional information.
package org.jellyfin.sdk.model.api

import kotlin.String
import kotlin.requireNotNull
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

/**
* Enum TaskTriggerInfoType.
*/
@Serializable
public enum class TaskTriggerInfoType(
public val serialName: String,
) {
@SerialName("DailyTrigger")
DAILY_TRIGGER("DailyTrigger"),
@SerialName("WeeklyTrigger")
WEEKLY_TRIGGER("WeeklyTrigger"),
@SerialName("IntervalTrigger")
INTERVAL_TRIGGER("IntervalTrigger"),
@SerialName("StartupTrigger")
STARTUP_TRIGGER("StartupTrigger"),
;

/**
* Get the serial name of the enum member.
*/
override fun toString(): String = serialName

public companion object {
/**
* Find the enum member by the serial name or return null.
*/
public fun fromNameOrNull(serialName: String): TaskTriggerInfoType? = when (serialName) {
"DailyTrigger" -> DAILY_TRIGGER
"WeeklyTrigger" -> WEEKLY_TRIGGER
"IntervalTrigger" -> INTERVAL_TRIGGER
"StartupTrigger" -> STARTUP_TRIGGER
else -> null
}

/**
* Find the enum member by the serial name or throw.
*/
public fun fromName(serialName: String): TaskTriggerInfoType =
requireNotNull(fromNameOrNull(serialName)) { """Unknown value $serialName""" }
}
}
4 changes: 2 additions & 2 deletions openapi.json
Git LFS file not shown

0 comments on commit e97fd23

Please sign in to comment.