Skip to content

Commit

Permalink
Update generated sources to 10.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot authored and nielsvanvelzen committed Jul 5, 2022
1 parent 4221b63 commit 295d375
Show file tree
Hide file tree
Showing 13 changed files with 167 additions and 65 deletions.
1 change: 1 addition & 0 deletions jellyfin-api/api/jellyfin-api.api
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,7 @@ public final class org/jellyfin/sdk/api/operations/HlsSegmentApi : org/jellyfin/

public final class org/jellyfin/sdk/api/operations/ImageApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun deleteCustomSplashscreen (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun deleteItemImage (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun deleteItemImage$default (Lorg/jellyfin/sdk/api/operations/ImageApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public final fun deleteItemImageByIndex (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
Expand Down
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.8.0"
public const val apiVersion: String = "10.8.1"
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ import org.jellyfin.sdk.model.api.ImageType
public class ImageApi(
private val api: ApiClient,
) : Api {
/**
* Delete a custom splashscreen.
*/
public suspend fun deleteCustomSplashscreen(): Response<Unit> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = emptyMap<String, Any?>()
val data = null
val response = api.delete<Unit>("/Branding/Splashscreen", pathParameters, queryParameters, data)
return response
}

/**
* Delete an item's image.
*
Expand Down Expand Up @@ -4420,6 +4431,7 @@ public class ImageApi(

/**
* Uploads a custom splashscreen.
* The body is expected to the image contents base64 encoded.
*/
public suspend fun uploadCustomSplashscreen(`data`: ByteArray): Response<Unit> {
val pathParameters = emptyMap<String, Any?>()
Expand Down
140 changes: 83 additions & 57 deletions jellyfin-model/api/jellyfin-model.api

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ public data class BaseItemDto(
@SerialName("ParentId")
public val parentId: UUID? = null,
/**
* The base item kind.
* Gets or sets the type.
*/
@SerialName("Type")
public val type: BaseItemKind,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
// Please read the README.md file in the openapi-generator module for additional information.
package org.jellyfin.sdk.model.api

import kotlin.Boolean
import kotlin.String
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
Expand All @@ -24,4 +25,9 @@ public data class BrandingOptions(
*/
@SerialName("CustomCss")
public val customCss: String? = null,
/**
* Gets or sets a value indicating whether to enable the splashscreen.
*/
@SerialName("SplashscreenEnabled")
public val splashscreenEnabled: Boolean,
)
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public data class DisplayPreferencesDto(
@SerialName("CustomPrefs")
public val customPrefs: Map<String, String?>,
/**
* An enum representing the axis that should be scrolled.
* Gets or sets the scroll direction.
*/
@SerialName("ScrollDirection")
public val scrollDirection: ScrollDirection,
Expand All @@ -73,7 +73,7 @@ public data class DisplayPreferencesDto(
@SerialName("RememberSorting")
public val rememberSorting: Boolean,
/**
* An enum representing the sorting order.
* Gets or sets the sort order.
*/
@SerialName("SortOrder")
public val sortOrder: SortOrder,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ public data class EncodingOptions(
public val tonemappingPeak: Double,
@SerialName("TonemappingParam")
public val tonemappingParam: Double,
@SerialName("VppTonemappingBrightness")
public val vppTonemappingBrightness: Double,
@SerialName("VppTonemappingContrast")
public val vppTonemappingContrast: Double,
@SerialName("H264Crf")
public val h264Crf: Int,
@SerialName("H265Crf")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,46 @@ public data class MediaStream(
*/
@SerialName("ColorPrimaries")
public val colorPrimaries: String? = null,
/**
* Gets or sets the Dolby Vision version major.
*/
@SerialName("DvVersionMajor")
public val dvVersionMajor: Int? = null,
/**
* Gets or sets the Dolby Vision version minor.
*/
@SerialName("DvVersionMinor")
public val dvVersionMinor: Int? = null,
/**
* Gets or sets the Dolby Vision profile.
*/
@SerialName("DvProfile")
public val dvProfile: Int? = null,
/**
* Gets or sets the Dolby Vision level.
*/
@SerialName("DvLevel")
public val dvLevel: Int? = null,
/**
* Gets or sets the Dolby Vision rpu present flag.
*/
@SerialName("RpuPresentFlag")
public val rpuPresentFlag: Int? = null,
/**
* Gets or sets the Dolby Vision el present flag.
*/
@SerialName("ElPresentFlag")
public val elPresentFlag: Int? = null,
/**
* Gets or sets the Dolby Vision bl present flag.
*/
@SerialName("BlPresentFlag")
public val blPresentFlag: Int? = null,
/**
* Gets or sets the Dolby Vision bl signal compatibility id.
*/
@SerialName("DvBlSignalCompatibilityId")
public val dvBlSignalCompatibilityId: Int? = null,
/**
* Gets or sets the comment.
*/
Expand All @@ -78,6 +118,16 @@ public data class MediaStream(
*/
@SerialName("VideoRange")
public val videoRange: String? = null,
/**
* Gets the video range type.
*/
@SerialName("VideoRangeType")
public val videoRangeType: String? = null,
/**
* Gets the video dovi title.
*/
@SerialName("VideoDoViTitle")
public val videoDoViTitle: String? = null,
@SerialName("LocalizedUndefined")
public val localizedUndefined: String? = null,
@SerialName("LocalizedDefault")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public enum class ProfileConditionValue(
AUDIO_SAMPLE_RATE("AudioSampleRate"),
@SerialName("AudioBitDepth")
AUDIO_BIT_DEPTH("AudioBitDepth"),
@SerialName("VideoRangeType")
VIDEO_RANGE_TYPE("VideoRangeType"),
;

public override fun toString(): String = serialName
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ public data class SessionInfo(
@SerialName("DeviceType")
public val deviceType: String? = null,
/**
* Gets or sets the now playing item.
* 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.
*/
@SerialName("NowPlayingItem")
public val nowPlayingItem: BaseItemDto? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public data class UserPolicy(
@SerialName("PasswordResetProviderId")
public val passwordResetProviderId: String? = null,
/**
* Enum SyncPlayUserAccessType.
* Gets or sets a value indicating what SyncPlay features the user can access.
*/
@SerialName("SyncPlayAccess")
public val syncPlayAccess: SyncPlayUserAccessType,
Expand Down
4 changes: 2 additions & 2 deletions openapi.json
Git LFS file not shown

0 comments on commit 295d375

Please sign in to comment.