mirror of
https://github.com/jellyfin/jellyfin-sdk-kotlin.git
synced 2024-11-22 21:39:49 +00:00
Update generated sources to 10.10.2
Some checks failed
Repo / Label merge conflict / Triage (push) Has been cancelled
SDK / Documentation / Lint (push) Has been cancelled
SDK / Documentation / Build Vitepress (push) Has been cancelled
SDK / Documentation / Build Dokka (push) Has been cancelled
SDK / Lint / Lint (push) Has been cancelled
SDK / Publish / Publish (push) Has been cancelled
SDK / Test / Test (17) (push) Has been cancelled
SDK / Test / Test (21) (push) Has been cancelled
SDK / Test / Validate binary compatibility (push) Has been cancelled
SDK / Test / Verify OpenAPI sources (push) Has been cancelled
SDK / Unstable branch / Update (push) Has been cancelled
SDK / Update OpenAPI / Update (push) Has been cancelled
SDK / Documentation / Deploy (push) Has been cancelled
Some checks failed
Repo / Label merge conflict / Triage (push) Has been cancelled
SDK / Documentation / Lint (push) Has been cancelled
SDK / Documentation / Build Vitepress (push) Has been cancelled
SDK / Documentation / Build Dokka (push) Has been cancelled
SDK / Lint / Lint (push) Has been cancelled
SDK / Publish / Publish (push) Has been cancelled
SDK / Test / Test (17) (push) Has been cancelled
SDK / Test / Test (21) (push) Has been cancelled
SDK / Test / Validate binary compatibility (push) Has been cancelled
SDK / Test / Verify OpenAPI sources (push) Has been cancelled
SDK / Unstable branch / Update (push) Has been cancelled
SDK / Update OpenAPI / Update (push) Has been cancelled
SDK / Documentation / Deploy (push) Has been cancelled
This commit is contained in:
parent
59f402e884
commit
ab914c36b3
@ -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 {
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -30,6 +30,8 @@ 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,
|
||||
@ -37,15 +39,17 @@ public class ItemRefreshApi(
|
||||
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)
|
||||
@ -63,5 +67,6 @@ public class ItemRefreshApi(
|
||||
imageRefreshMode = request.imageRefreshMode,
|
||||
replaceAllMetadata = request.replaceAllMetadata,
|
||||
replaceAllImages = request.replaceAllImages,
|
||||
regenerateTrickplay = request.regenerateTrickplay,
|
||||
)
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
openapi.json
vendored
4
openapi.json
vendored
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a69279de58a6d71250f81230a06e95ea97d7f52d6aba95d8f875abc56c90d295
|
||||
size 1732856
|
||||
oid sha256:b4dfff59261c7c5289a1dfca4ebabb74efd1ac6bf710665d228d8259ee0ca6b8
|
||||
size 1733185
|
||||
|
Loading…
Reference in New Issue
Block a user