Skip to content

Commit

Permalink
Update generated sources to 10.10.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jellyfin-bot authored and nielsvanvelzen committed Nov 16, 2024
1 parent 59f402e commit ab914c3
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 10 deletions.
4 changes: 2 additions & 2 deletions jellyfin-api/api/jellyfin-api.api
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,9 @@ public final class org/jellyfin/sdk/api/operations/ItemLookupApi : org/jellyfin/

public final class org/jellyfin/sdk/api/operations/ItemRefreshApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun refreshItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun refreshItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun refreshItem (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun refreshItem$default (Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public static synthetic fun refreshItem$default (Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}

public final class org/jellyfin/sdk/api/operations/ItemUpdateApi : org/jellyfin/sdk/api/operations/Api {
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.10.1"
public const val apiVersion: String = "10.10.2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,26 @@ public class ItemRefreshApi(
* if mode is FullRefresh.
* @param replaceAllImages (Optional) Determines if images should be replaced. Only applicable if
* mode is FullRefresh.
* @param regenerateTrickplay (Optional) Determines if trickplay images should be replaced. Only
* applicable if mode is FullRefresh.
*/
public suspend fun refreshItem(
itemId: UUID,
metadataRefreshMode: MetadataRefreshMode? = MetadataRefreshMode.NONE,
imageRefreshMode: MetadataRefreshMode? = MetadataRefreshMode.NONE,
replaceAllMetadata: Boolean? = false,
replaceAllImages: Boolean? = false,
regenerateTrickplay: Boolean? = false,
): Response<Unit> {
val pathParameters = buildMap<String, Any?>(1) {
put("itemId", itemId)
}
val queryParameters = buildMap<String, Any?>(4) {
val queryParameters = buildMap<String, Any?>(5) {
put("metadataRefreshMode", metadataRefreshMode)
put("imageRefreshMode", imageRefreshMode)
put("replaceAllMetadata", replaceAllMetadata)
put("replaceAllImages", replaceAllImages)
put("regenerateTrickplay", regenerateTrickplay)
}
val data = null
val response = api.post<Unit>("/Items/{itemId}/Refresh", pathParameters, queryParameters, data)
Expand All @@ -63,5 +67,6 @@ public class ItemRefreshApi(
imageRefreshMode = request.imageRefreshMode,
replaceAllMetadata = request.replaceAllMetadata,
replaceAllImages = request.replaceAllImages,
regenerateTrickplay = request.regenerateTrickplay,
)
}
10 changes: 6 additions & 4 deletions jellyfin-model/api/jellyfin-model.api
Original file line number Diff line number Diff line change
Expand Up @@ -18752,19 +18752,21 @@ public final class org/jellyfin/sdk/model/api/request/PostCapabilitiesRequest$Co

public final class org/jellyfin/sdk/model/api/request/RefreshItemRequest {
public static final field Companion Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest$Companion;
public fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)V
public synthetic fun <init> (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public final fun component1 ()Ljava/util/UUID;
public final fun component2 ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun component3 ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun component4 ()Ljava/lang/Boolean;
public final fun component5 ()Ljava/lang/Boolean;
public final fun copy (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public final fun component6 ()Ljava/lang/Boolean;
public final fun copy (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public static synthetic fun copy$default (Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ILjava/lang/Object;)Lorg/jellyfin/sdk/model/api/request/RefreshItemRequest;
public fun equals (Ljava/lang/Object;)Z
public final fun getImageRefreshMode ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun getItemId ()Ljava/util/UUID;
public final fun getMetadataRefreshMode ()Lorg/jellyfin/sdk/model/api/MetadataRefreshMode;
public final fun getRegenerateTrickplay ()Ljava/lang/Boolean;
public final fun getReplaceAllImages ()Ljava/lang/Boolean;
public final fun getReplaceAllMetadata ()Ljava/lang/Boolean;
public fun hashCode ()I
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,10 @@ public data class RefreshItemRequest(
*/
@SerialName("replaceAllImages")
public val replaceAllImages: Boolean? = false,
/**
* (Optional) Determines if trickplay images should be replaced. Only applicable if mode is
* FullRefresh.
*/
@SerialName("regenerateTrickplay")
public val regenerateTrickplay: Boolean? = false,
)
4 changes: 2 additions & 2 deletions openapi.json
Git LFS file not shown

0 comments on commit ab914c3

Please sign in to comment.