Add Api instances to ApiClient as extension properties (#324)

* Add Api interface as super for all Api classes

* Update generated sources

* Make ApiClient abstract and add getOrCreateApi function

* Add ApiClient.webSocket extension

* Add ApiClientExtensionsBuilder

* Update generated sources

* Update api usages to new syntax

* Fix package names

* Add api suffix back
This commit is contained in:
Niels van Velzen 2021-09-20 21:49:30 +02:00 committed by GitHub
parent dae0fb04b7
commit bb14bf6d19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
83 changed files with 580 additions and 193 deletions

View File

@ -134,10 +134,13 @@ val api = jellyfin.createApi(
### Authenticating a user
All API operations are grouped. To make use of an operation you need to construct an instance of the
group and give it your API instance.
All API operations are grouped. To make use of an operation you need to first get the group from your ApiClient
instance. All groups are defined as extension functions and you can alternatively construct the API instances
manually.
```kotlin
val userApi = api.userApi
// or
val userApi = UserApi(api)
try {
@ -163,8 +166,6 @@ Jellyfin uses WebSockets to communicate events like library changes and activiti
used with the special WebSocketApi class.
```kotlin
val webSocketApi = WebSocketApi(api)
// Publish messages
webSocketApi.publish(ActivityLogEntryStartMessage())
webSocketApi.publish(SessionsStartMessage())

View File

@ -1,14 +1,18 @@
public abstract interface class org/jellyfin/sdk/api/client/ApiClient {
public abstract class org/jellyfin/sdk/api/client/ApiClient {
public static final field Companion Lorg/jellyfin/sdk/api/client/ApiClient$Companion;
public static final field QUERY_ACCESS_TOKEN Ljava/lang/String;
public abstract fun createUrl (Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Z)Ljava/lang/String;
public fun <init> ()V
public fun createUrl (Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Z)Ljava/lang/String;
public static synthetic fun createUrl$default (Lorg/jellyfin/sdk/api/client/ApiClient;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;ZILjava/lang/Object;)Ljava/lang/String;
public abstract fun getAccessToken ()Ljava/lang/String;
public abstract fun getBaseUrl ()Ljava/lang/String;
public abstract fun getClientInfo ()Lorg/jellyfin/sdk/model/ClientInfo;
public abstract fun getDeviceInfo ()Lorg/jellyfin/sdk/model/DeviceInfo;
public abstract fun getHttpClientOptions ()Lorg/jellyfin/sdk/api/client/HttpClientOptions;
public final fun getOrCreateApi (Lkotlin/reflect/KClass;Lkotlin/jvm/functions/Function1;)Lorg/jellyfin/sdk/api/operations/Api;
public abstract fun getUserId ()Ljava/util/UUID;
public abstract fun request (Lorg/jellyfin/sdk/api/client/HttpMethod;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun request$default (Lorg/jellyfin/sdk/api/client/ApiClient;Lorg/jellyfin/sdk/api/client/HttpMethod;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/lang/Object;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
public abstract fun setAccessToken (Ljava/lang/String;)V
public abstract fun setBaseUrl (Ljava/lang/String;)V
public abstract fun setClientInfo (Lorg/jellyfin/sdk/model/ClientInfo;)V
@ -17,13 +21,6 @@ public abstract interface class org/jellyfin/sdk/api/client/ApiClient {
}
public final class org/jellyfin/sdk/api/client/ApiClient$Companion {
public static final field QUERY_ACCESS_TOKEN Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/client/ApiClient$DefaultImpls {
public static fun createUrl (Lorg/jellyfin/sdk/api/client/ApiClient;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Z)Ljava/lang/String;
public static synthetic fun createUrl$default (Lorg/jellyfin/sdk/api/client/ApiClient;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;ZILjava/lang/Object;)Ljava/lang/String;
public static synthetic fun request$default (Lorg/jellyfin/sdk/api/client/ApiClient;Lorg/jellyfin/sdk/api/client/HttpMethod;Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Ljava/lang/Object;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/client/HttpClientOptions {
@ -56,7 +53,6 @@ public final class org/jellyfin/sdk/api/client/HttpMethod : java/lang/Enum {
public class org/jellyfin/sdk/api/client/KtorClient : org/jellyfin/sdk/api/client/ApiClient {
public fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Lorg/jellyfin/sdk/model/ClientInfo;Lorg/jellyfin/sdk/model/DeviceInfo;Lorg/jellyfin/sdk/api/client/HttpClientOptions;)V
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Lorg/jellyfin/sdk/model/ClientInfo;Lorg/jellyfin/sdk/model/DeviceInfo;Lorg/jellyfin/sdk/api/client/HttpClientOptions;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun createUrl (Ljava/lang/String;Ljava/util/Map;Ljava/util/Map;Z)Ljava/lang/String;
public fun getAccessToken ()Ljava/lang/String;
public fun getBaseUrl ()Ljava/lang/String;
public fun getClientInfo ()Lorg/jellyfin/sdk/model/ClientInfo;
@ -139,9 +135,71 @@ public final class org/jellyfin/sdk/api/client/exception/TimeoutException : org/
public synthetic fun <init> (Ljava/lang/String;Ljava/lang/Throwable;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
}
public final class org/jellyfin/sdk/api/client/extensions/MediaInfoApiExtensionsKt {
public static final fun detectBitrate (Lorg/jellyfin/sdk/api/operations/MediaInfoApi;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun measureBitrate (Lorg/jellyfin/sdk/api/operations/MediaInfoApi;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final class org/jellyfin/sdk/api/client/extensions/ApiClientExtensionsKt {
public static final fun getActivityLogApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ActivityLogApi;
public static final fun getApiKeyApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ApiKeyApi;
public static final fun getArtistsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ArtistsApi;
public static final fun getAudioApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/AudioApi;
public static final fun getBrandingApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/BrandingApi;
public static final fun getChannelsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ChannelsApi;
public static final fun getCollectionApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/CollectionApi;
public static final fun getConfigurationApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ConfigurationApi;
public static final fun getDashboardApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/DashboardApi;
public static final fun getDevicesApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/DevicesApi;
public static final fun getDisplayPreferencesApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/DisplayPreferencesApi;
public static final fun getDlnaApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/DlnaApi;
public static final fun getDlnaServerApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/DlnaServerApi;
public static final fun getDynamicHlsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/DynamicHlsApi;
public static final fun getEnvironmentApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/EnvironmentApi;
public static final fun getFilterApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/FilterApi;
public static final fun getGenresApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/GenresApi;
public static final fun getHlsSegmentApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/HlsSegmentApi;
public static final fun getImageApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ImageApi;
public static final fun getImageByNameApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ImageByNameApi;
public static final fun getInstantMixApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/InstantMixApi;
public static final fun getItemLookupApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ItemLookupApi;
public static final fun getItemRefreshApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ItemRefreshApi;
public static final fun getItemUpdateApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ItemUpdateApi;
public static final fun getItemsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ItemsApi;
public static final fun getLibraryApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/LibraryApi;
public static final fun getLibraryStructureApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/LibraryStructureApi;
public static final fun getLiveTvApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/LiveTvApi;
public static final fun getLocalizationApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/LocalizationApi;
public static final fun getMediaInfoApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/MediaInfoApi;
public static final fun getMoviesApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/MoviesApi;
public static final fun getMusicGenresApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/MusicGenresApi;
public static final fun getNotificationsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/NotificationsApi;
public static final fun getPackageApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/PackageApi;
public static final fun getPersonsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/PersonsApi;
public static final fun getPlayStateApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/PlayStateApi;
public static final fun getPlaylistsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/PlaylistsApi;
public static final fun getPluginsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/PluginsApi;
public static final fun getQuickConnectApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/QuickConnectApi;
public static final fun getRemoteImageApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/RemoteImageApi;
public static final fun getScheduledTasksApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/ScheduledTasksApi;
public static final fun getSearchApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/SearchApi;
public static final fun getSessionApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/SessionApi;
public static final fun getStartupApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/StartupApi;
public static final fun getStudiosApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/StudiosApi;
public static final fun getSubtitleApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/SubtitleApi;
public static final fun getSuggestionsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/SuggestionsApi;
public static final fun getSyncPlayApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/SyncPlayApi;
public static final fun getSystemApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/SystemApi;
public static final fun getTimeSyncApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/TimeSyncApi;
public static final fun getTrailersApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/TrailersApi;
public static final fun getTvShowsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/TvShowsApi;
public static final fun getUniversalAudioApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/UniversalAudioApi;
public static final fun getUserApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/UserApi;
public static final fun getUserLibraryApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/UserLibraryApi;
public static final fun getUserViewsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/UserViewsApi;
public static final fun getVideoAttachmentsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/VideoAttachmentsApi;
public static final fun getVideoHlsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/VideoHlsApi;
public static final fun getVideosApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/VideosApi;
public static final fun getYearsApi (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/operations/YearsApi;
}
public final class org/jellyfin/sdk/api/client/extensions/CommonApiClientExtensionsKt {
public static final fun getWebSocket (Lorg/jellyfin/sdk/api/client/ApiClient;)Lorg/jellyfin/sdk/api/sockets/WebSocketApi;
}
public final class org/jellyfin/sdk/api/client/extensions/UserApiExtensionsKt {
@ -175,25 +233,33 @@ public final class org/jellyfin/sdk/api/client/util/UrlBuilderKt {
public static final fun buildPath (Ljava/lang/String;Ljava/util/Map;)Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/extensions/MediaInfoApiExtensionsKt {
public static final fun detectBitrate (Lorg/jellyfin/sdk/api/operations/MediaInfoApi;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static final fun measureBitrate (Lorg/jellyfin/sdk/api/operations/MediaInfoApi;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/info/ApiConstants {
public static final field INSTANCE Lorg/jellyfin/sdk/api/info/ApiConstants;
public static final field apiVersion Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/operations/ActivityLogApi {
public final class org/jellyfin/sdk/api/operations/ActivityLogApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getLogEntries (Ljava/lang/Integer;Ljava/lang/Integer;Ljava/time/LocalDateTime;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getLogEntries$default (Lorg/jellyfin/sdk/api/operations/ActivityLogApi;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/time/LocalDateTime;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ApiKeyApi {
public abstract interface class org/jellyfin/sdk/api/operations/Api {
}
public final class org/jellyfin/sdk/api/operations/ApiKeyApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun createKey (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getKeys (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun revokeKey (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ArtistsApi {
public final class org/jellyfin/sdk/api/operations/ArtistsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getAlbumArtists (Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getAlbumArtists$default (Lorg/jellyfin/sdk/api/operations/ArtistsApi;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -203,7 +269,7 @@ public final class org/jellyfin/sdk/api/operations/ArtistsApi {
public static synthetic fun getArtists$default (Lorg/jellyfin/sdk/api/operations/ArtistsApi;Ljava/lang/Double;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/AudioApi {
public final class org/jellyfin/sdk/api/operations/AudioApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getAudioStream (Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getAudioStream$default (Lorg/jellyfin/sdk/api/operations/AudioApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Lkotlin/coroutines/Continuation;IILjava/lang/Object;)Ljava/lang/Object;
@ -215,14 +281,14 @@ public final class org/jellyfin/sdk/api/operations/AudioApi {
public static synthetic fun getAudioStreamUrl$default (Lorg/jellyfin/sdk/api/operations/AudioApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;ZIILjava/lang/Object;)Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/operations/BrandingApi {
public final class org/jellyfin/sdk/api/operations/BrandingApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getBrandingCss (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getBrandingCss2 (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getBrandingOptions (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ChannelsApi {
public final class org/jellyfin/sdk/api/operations/ChannelsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getAllChannelFeatures (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getChannelFeatures (Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -234,7 +300,7 @@ public final class org/jellyfin/sdk/api/operations/ChannelsApi {
public static synthetic fun getLatestChannelItems$default (Lorg/jellyfin/sdk/api/operations/ChannelsApi;Ljava/util/UUID;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/CollectionApi {
public final class org/jellyfin/sdk/api/operations/CollectionApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun addToCollection (Ljava/util/UUID;Ljava/util/Collection;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun addToCollection$default (Lorg/jellyfin/sdk/api/operations/CollectionApi;Ljava/util/UUID;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -244,7 +310,7 @@ public final class org/jellyfin/sdk/api/operations/CollectionApi {
public static synthetic fun removeFromCollection$default (Lorg/jellyfin/sdk/api/operations/CollectionApi;Ljava/util/UUID;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ConfigurationApi {
public final class org/jellyfin/sdk/api/operations/ConfigurationApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getConfiguration (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDefaultMetadataOptions (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -256,7 +322,7 @@ public final class org/jellyfin/sdk/api/operations/ConfigurationApi {
public final fun updateNamedConfiguration (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/DashboardApi {
public final class org/jellyfin/sdk/api/operations/DashboardApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getConfigurationPages (Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/ConfigurationPageType;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getConfigurationPages$default (Lorg/jellyfin/sdk/api/operations/DashboardApi;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/ConfigurationPageType;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -264,7 +330,7 @@ public final class org/jellyfin/sdk/api/operations/DashboardApi {
public static synthetic fun getDashboardConfigurationPage$default (Lorg/jellyfin/sdk/api/operations/DashboardApi;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/DevicesApi {
public final class org/jellyfin/sdk/api/operations/DevicesApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun deleteDevice (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDeviceInfo (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -274,7 +340,7 @@ public final class org/jellyfin/sdk/api/operations/DevicesApi {
public final fun updateDeviceOptions (Ljava/lang/String;Lorg/jellyfin/sdk/model/api/DeviceOptions;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/DisplayPreferencesApi {
public final class org/jellyfin/sdk/api/operations/DisplayPreferencesApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getDisplayPreferences (Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getDisplayPreferences$default (Lorg/jellyfin/sdk/api/operations/DisplayPreferencesApi;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -282,7 +348,7 @@ public final class org/jellyfin/sdk/api/operations/DisplayPreferencesApi {
public static synthetic fun updateDisplayPreferences$default (Lorg/jellyfin/sdk/api/operations/DisplayPreferencesApi;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Lorg/jellyfin/sdk/model/api/DisplayPreferencesDto;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/DlnaApi {
public final class org/jellyfin/sdk/api/operations/DlnaApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun createProfile (Lorg/jellyfin/sdk/model/api/DeviceProfile;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun createProfile$default (Lorg/jellyfin/sdk/api/operations/DlnaApi;Lorg/jellyfin/sdk/model/api/DeviceProfile;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -294,7 +360,7 @@ public final class org/jellyfin/sdk/api/operations/DlnaApi {
public static synthetic fun updateProfile$default (Lorg/jellyfin/sdk/api/operations/DlnaApi;Ljava/lang/String;Lorg/jellyfin/sdk/model/api/DeviceProfile;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/DlnaServerApi {
public final class org/jellyfin/sdk/api/operations/DlnaServerApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getConnectionManager (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getConnectionManager2 (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -318,7 +384,7 @@ public final class org/jellyfin/sdk/api/operations/DlnaServerApi {
public final fun processMediaReceiverRegistrarControlRequest (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/DynamicHlsApi {
public final class org/jellyfin/sdk/api/operations/DynamicHlsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getHlsAudioSegment (Ljava/util/UUID;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getHlsAudioSegment$default (Lorg/jellyfin/sdk/api/operations/DynamicHlsApi;Ljava/util/UUID;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Lkotlin/coroutines/Continuation;IILjava/lang/Object;)Ljava/lang/Object;
@ -346,7 +412,7 @@ public final class org/jellyfin/sdk/api/operations/DynamicHlsApi {
public static synthetic fun getVariantHlsVideoPlaylistUrl$default (Lorg/jellyfin/sdk/api/operations/DynamicHlsApi;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;ZIILjava/lang/Object;)Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/operations/EnvironmentApi {
public final class org/jellyfin/sdk/api/operations/EnvironmentApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getDefaultDirectoryBrowser (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getDirectoryContents (Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -357,7 +423,7 @@ public final class org/jellyfin/sdk/api/operations/EnvironmentApi {
public final fun validatePath (Lorg/jellyfin/sdk/model/api/ValidatePathDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/FilterApi {
public final class org/jellyfin/sdk/api/operations/FilterApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getQueryFilters (Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getQueryFilters$default (Lorg/jellyfin/sdk/api/operations/FilterApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -365,7 +431,7 @@ public final class org/jellyfin/sdk/api/operations/FilterApi {
public static synthetic fun getQueryFiltersLegacy$default (Lorg/jellyfin/sdk/api/operations/FilterApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/GenresApi {
public final class org/jellyfin/sdk/api/operations/GenresApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getGenre (Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getGenre$default (Lorg/jellyfin/sdk/api/operations/GenresApi;Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -373,7 +439,7 @@ public final class org/jellyfin/sdk/api/operations/GenresApi {
public static synthetic fun getGenres$default (Lorg/jellyfin/sdk/api/operations/GenresApi;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/HlsSegmentApi {
public final class org/jellyfin/sdk/api/operations/HlsSegmentApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getHlsAudioSegmentLegacyAac (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getHlsAudioSegmentLegacyAacUrl (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
@ -390,7 +456,7 @@ public final class org/jellyfin/sdk/api/operations/HlsSegmentApi {
public final fun stopEncodingProcess (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ImageApi {
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 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;
@ -465,7 +531,7 @@ public final class org/jellyfin/sdk/api/operations/ImageApi {
public final fun updateItemImageIndex (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;IILkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ImageByNameApi {
public final class org/jellyfin/sdk/api/operations/ImageByNameApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getGeneralImage (Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getGeneralImageUrl (Ljava/lang/String;Ljava/lang/String;Z)Ljava/lang/String;
@ -481,7 +547,7 @@ public final class org/jellyfin/sdk/api/operations/ImageByNameApi {
public final fun getRatingImages (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/InstantMixApi {
public final class org/jellyfin/sdk/api/operations/InstantMixApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getInstantMixFromAlbum (Ljava/util/UUID;Ljava/util/UUID;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getInstantMixFromAlbum$default (Lorg/jellyfin/sdk/api/operations/InstantMixApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -503,7 +569,7 @@ public final class org/jellyfin/sdk/api/operations/InstantMixApi {
public static synthetic fun getInstantMixFromSong$default (Lorg/jellyfin/sdk/api/operations/InstantMixApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ItemLookupApi {
public final class org/jellyfin/sdk/api/operations/ItemLookupApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun applySearchCriteria (Ljava/util/UUID;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/RemoteSearchResult;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun applySearchCriteria$default (Lorg/jellyfin/sdk/api/operations/ItemLookupApi;Ljava/util/UUID;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/RemoteSearchResult;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -519,13 +585,13 @@ public final class org/jellyfin/sdk/api/operations/ItemLookupApi {
public final fun getTrailerRemoteSearchResults (Lorg/jellyfin/sdk/model/api/TrailerInfoRemoteSearchQuery;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ItemRefreshApi {
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 post (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 static synthetic fun post$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 final class org/jellyfin/sdk/api/operations/ItemUpdateApi {
public final class org/jellyfin/sdk/api/operations/ItemUpdateApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getMetadataEditorInfo (Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun updateItem (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/BaseItemDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -533,7 +599,7 @@ public final class org/jellyfin/sdk/api/operations/ItemUpdateApi {
public static synthetic fun updateItemContentType$default (Lorg/jellyfin/sdk/api/operations/ItemUpdateApi;Ljava/util/UUID;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ItemsApi {
public final class org/jellyfin/sdk/api/operations/ItemsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getItems (Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/Collection;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getItems$default (Lorg/jellyfin/sdk/api/operations/ItemsApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/Collection;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;IIILjava/lang/Object;)Ljava/lang/Object;
@ -543,7 +609,7 @@ public final class org/jellyfin/sdk/api/operations/ItemsApi {
public static synthetic fun getResumeItems$default (Lorg/jellyfin/sdk/api/operations/ItemsApi;Ljava/util/UUID;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/LibraryApi {
public final class org/jellyfin/sdk/api/operations/LibraryApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun deleteItem (Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun deleteItems (Ljava/util/Collection;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -594,7 +660,7 @@ public final class org/jellyfin/sdk/api/operations/LibraryApi {
public final fun refreshLibrary (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/LibraryStructureApi {
public final class org/jellyfin/sdk/api/operations/LibraryStructureApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun addMediaPath (Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/MediaPathDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun addMediaPath$default (Lorg/jellyfin/sdk/api/operations/LibraryStructureApi;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/MediaPathDto;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -612,7 +678,7 @@ public final class org/jellyfin/sdk/api/operations/LibraryStructureApi {
public final fun updateMediaPath (Lorg/jellyfin/sdk/model/api/UpdateMediaPathRequestDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/LiveTvApi {
public final class org/jellyfin/sdk/api/operations/LiveTvApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun addListingProvider (Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/ListingsProviderInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun addListingProvider$default (Lorg/jellyfin/sdk/api/operations/LiveTvApi;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/ListingsProviderInfo;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -689,7 +755,7 @@ public final class org/jellyfin/sdk/api/operations/LiveTvApi {
public static synthetic fun updateTimer$default (Lorg/jellyfin/sdk/api/operations/LiveTvApi;Ljava/lang/String;Lorg/jellyfin/sdk/model/api/TimerInfoDto;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/LocalizationApi {
public final class org/jellyfin/sdk/api/operations/LocalizationApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getCountries (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getCultures (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -697,7 +763,7 @@ public final class org/jellyfin/sdk/api/operations/LocalizationApi {
public final fun getParentalRatings (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/MediaInfoApi {
public final class org/jellyfin/sdk/api/operations/MediaInfoApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun closeLiveStream (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getBitrateTestBytes (Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -714,13 +780,13 @@ public final class org/jellyfin/sdk/api/operations/MediaInfoApi {
public static synthetic fun openLiveStream$default (Lorg/jellyfin/sdk/api/operations/MediaInfoApi;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/Boolean;Lorg/jellyfin/sdk/model/api/OpenLiveStreamDto;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/MoviesApi {
public final class org/jellyfin/sdk/api/operations/MoviesApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getMovieRecommendations (Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getMovieRecommendations$default (Lorg/jellyfin/sdk/api/operations/MoviesApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/MusicGenresApi {
public final class org/jellyfin/sdk/api/operations/MusicGenresApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getMusicGenre (Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getMusicGenre$default (Lorg/jellyfin/sdk/api/operations/MusicGenresApi;Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -728,7 +794,7 @@ public final class org/jellyfin/sdk/api/operations/MusicGenresApi {
public static synthetic fun getMusicGenres$default (Lorg/jellyfin/sdk/api/operations/MusicGenresApi;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/NotificationsApi {
public final class org/jellyfin/sdk/api/operations/NotificationsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun createAdminNotification (Lorg/jellyfin/sdk/model/api/AdminNotificationDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getNotificationServices (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -743,7 +809,7 @@ public final class org/jellyfin/sdk/api/operations/NotificationsApi {
public static synthetic fun setUnread$default (Lorg/jellyfin/sdk/api/operations/NotificationsApi;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/PackageApi {
public final class org/jellyfin/sdk/api/operations/PackageApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun cancelPackageInstallation (Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getPackageInfo (Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -755,7 +821,7 @@ public final class org/jellyfin/sdk/api/operations/PackageApi {
public final fun setRepositories (Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/PersonsApi {
public final class org/jellyfin/sdk/api/operations/PersonsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getPerson (Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getPerson$default (Lorg/jellyfin/sdk/api/operations/PersonsApi;Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -763,7 +829,7 @@ public final class org/jellyfin/sdk/api/operations/PersonsApi {
public static synthetic fun getPersons$default (Lorg/jellyfin/sdk/api/operations/PersonsApi;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/UUID;Ljava/util/UUID;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/PlayStateApi {
public final class org/jellyfin/sdk/api/operations/PlayStateApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun markPlayedItem (Ljava/util/UUID;Ljava/util/UUID;Ljava/time/LocalDateTime;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun markPlayedItem$default (Lorg/jellyfin/sdk/api/operations/PlayStateApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/time/LocalDateTime;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -784,7 +850,7 @@ public final class org/jellyfin/sdk/api/operations/PlayStateApi {
public static synthetic fun reportPlaybackStopped$default (Lorg/jellyfin/sdk/api/operations/PlayStateApi;Lorg/jellyfin/sdk/model/api/PlaybackStopInfo;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/PlaylistsApi {
public final class org/jellyfin/sdk/api/operations/PlaylistsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun addToPlaylist (Ljava/util/UUID;Ljava/util/Collection;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun addToPlaylist$default (Lorg/jellyfin/sdk/api/operations/PlaylistsApi;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -799,7 +865,7 @@ public final class org/jellyfin/sdk/api/operations/PlaylistsApi {
public static synthetic fun removeFromPlaylist$default (Lorg/jellyfin/sdk/api/operations/PlaylistsApi;Ljava/lang/String;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/PluginsApi {
public final class org/jellyfin/sdk/api/operations/PluginsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun disablePlugin (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/Version;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun enablePlugin (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/Version;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -815,7 +881,7 @@ public final class org/jellyfin/sdk/api/operations/PluginsApi {
public final fun updatePluginSecurityInfo (Lorg/jellyfin/sdk/model/api/PluginSecurityInfo;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/QuickConnectApi {
public final class org/jellyfin/sdk/api/operations/QuickConnectApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun activate (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun authorize (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -827,7 +893,7 @@ public final class org/jellyfin/sdk/api/operations/QuickConnectApi {
public final fun initiate (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/RemoteImageApi {
public final class org/jellyfin/sdk/api/operations/RemoteImageApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun downloadRemoteImage (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun downloadRemoteImage$default (Lorg/jellyfin/sdk/api/operations/RemoteImageApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -836,7 +902,7 @@ public final class org/jellyfin/sdk/api/operations/RemoteImageApi {
public static synthetic fun getRemoteImages$default (Lorg/jellyfin/sdk/api/operations/RemoteImageApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/ImageType;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/ScheduledTasksApi {
public final class org/jellyfin/sdk/api/operations/ScheduledTasksApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getTask (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getTasks (Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -846,13 +912,13 @@ public final class org/jellyfin/sdk/api/operations/ScheduledTasksApi {
public final fun updateTask (Ljava/lang/String;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/SearchApi {
public final class org/jellyfin/sdk/api/operations/SearchApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun get (Ljava/lang/Integer;Ljava/lang/Integer;Ljava/util/UUID;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun get$default (Lorg/jellyfin/sdk/api/operations/SearchApi;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/util/UUID;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;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/SessionApi {
public final class org/jellyfin/sdk/api/operations/SessionApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun addUserToSession (Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun addUserToSession$default (Lorg/jellyfin/sdk/api/operations/SessionApi;Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -880,7 +946,7 @@ public final class org/jellyfin/sdk/api/operations/SessionApi {
public final fun sendSystemCommand (Ljava/lang/String;Lorg/jellyfin/sdk/model/api/GeneralCommandType;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/StartupApi {
public final class org/jellyfin/sdk/api/operations/StartupApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun completeWizard (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getFirstUser (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -892,7 +958,7 @@ public final class org/jellyfin/sdk/api/operations/StartupApi {
public static synthetic fun updateStartupUser$default (Lorg/jellyfin/sdk/api/operations/StartupApi;Lorg/jellyfin/sdk/model/api/StartupUserDto;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/StudiosApi {
public final class org/jellyfin/sdk/api/operations/StudiosApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getStudio (Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getStudio$default (Lorg/jellyfin/sdk/api/operations/StudiosApi;Ljava/lang/String;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -900,7 +966,7 @@ public final class org/jellyfin/sdk/api/operations/StudiosApi {
public static synthetic fun getStudios$default (Lorg/jellyfin/sdk/api/operations/StudiosApi;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/SubtitleApi {
public final class org/jellyfin/sdk/api/operations/SubtitleApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun deleteSubtitle (Ljava/util/UUID;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun downloadRemoteSubtitles (Ljava/util/UUID;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -925,13 +991,13 @@ public final class org/jellyfin/sdk/api/operations/SubtitleApi {
public final fun uploadSubtitle (Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/UploadSubtitleDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/SuggestionsApi {
public final class org/jellyfin/sdk/api/operations/SuggestionsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getSuggestions (Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getSuggestions$default (Lorg/jellyfin/sdk/api/operations/SuggestionsApi;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/SyncPlayApi {
public final class org/jellyfin/sdk/api/operations/SyncPlayApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun syncPlayBuffering (Lorg/jellyfin/sdk/model/api/BufferRequestDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun syncPlayCreateGroup (Lorg/jellyfin/sdk/model/api/NewGroupRequestDto;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -956,7 +1022,7 @@ public final class org/jellyfin/sdk/api/operations/SyncPlayApi {
public final fun syncPlayUnpause (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/SystemApi {
public final class org/jellyfin/sdk/api/operations/SystemApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getEndpointInfo (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getLogFile (Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -970,18 +1036,18 @@ public final class org/jellyfin/sdk/api/operations/SystemApi {
public final fun shutdownApplication (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/TimeSyncApi {
public final class org/jellyfin/sdk/api/operations/TimeSyncApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getUtcTime (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/TrailersApi {
public final class org/jellyfin/sdk/api/operations/TrailersApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getTrailers (Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/Collection;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getTrailers$default (Lorg/jellyfin/sdk/api/operations/TrailersApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Double;Ljava/lang/Double;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/Collection;Ljava/util/UUID;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;IIILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/TvShowsApi {
public final class org/jellyfin/sdk/api/operations/TvShowsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getEpisodes (Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/Integer;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getEpisodes$default (Lorg/jellyfin/sdk/api/operations/TvShowsApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/Integer;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/Boolean;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -993,7 +1059,7 @@ public final class org/jellyfin/sdk/api/operations/TvShowsApi {
public static synthetic fun getUpcomingEpisodes$default (Lorg/jellyfin/sdk/api/operations/TvShowsApi;Ljava/util/UUID;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/util/Collection;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/util/Collection;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/UniversalAudioApi {
public final class org/jellyfin/sdk/api/operations/UniversalAudioApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getUniversalAudioStream (Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getUniversalAudioStream$default (Lorg/jellyfin/sdk/api/operations/UniversalAudioApi;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -1001,7 +1067,7 @@ public final class org/jellyfin/sdk/api/operations/UniversalAudioApi {
public static synthetic fun getUniversalAudioStreamUrl$default (Lorg/jellyfin/sdk/api/operations/UniversalAudioApi;Ljava/util/UUID;Ljava/util/Collection;Ljava/lang/String;Ljava/lang/String;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;ZILjava/lang/Object;)Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/operations/UserApi {
public final class org/jellyfin/sdk/api/operations/UserApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun authenticateUser (Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun authenticateUser$default (Lorg/jellyfin/sdk/api/operations/UserApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/String;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -1030,7 +1096,7 @@ public final class org/jellyfin/sdk/api/operations/UserApi {
public static synthetic fun updateUserPolicy$default (Lorg/jellyfin/sdk/api/operations/UserApi;Ljava/util/UUID;Lorg/jellyfin/sdk/model/api/UserPolicy;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/UserLibraryApi {
public final class org/jellyfin/sdk/api/operations/UserLibraryApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun deleteUserItemRating (Ljava/util/UUID;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun deleteUserItemRating$default (Lorg/jellyfin/sdk/api/operations/UserLibraryApi;Ljava/util/UUID;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -1054,7 +1120,7 @@ public final class org/jellyfin/sdk/api/operations/UserLibraryApi {
public static synthetic fun updateUserItemRating$default (Lorg/jellyfin/sdk/api/operations/UserLibraryApi;Ljava/util/UUID;Ljava/util/UUID;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/UserViewsApi {
public final class org/jellyfin/sdk/api/operations/UserViewsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getGroupingOptions (Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getGroupingOptions$default (Lorg/jellyfin/sdk/api/operations/UserViewsApi;Ljava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -1062,14 +1128,14 @@ public final class org/jellyfin/sdk/api/operations/UserViewsApi {
public static synthetic fun getUserViews$default (Lorg/jellyfin/sdk/api/operations/UserViewsApi;Ljava/util/UUID;Ljava/lang/Boolean;Ljava/util/Collection;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/VideoAttachmentsApi {
public final class org/jellyfin/sdk/api/operations/VideoAttachmentsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getAttachment (Ljava/util/UUID;Ljava/lang/String;ILkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getAttachmentUrl (Ljava/util/UUID;Ljava/lang/String;IZ)Ljava/lang/String;
public static synthetic fun getAttachmentUrl$default (Lorg/jellyfin/sdk/api/operations/VideoAttachmentsApi;Ljava/util/UUID;Ljava/lang/String;IZILjava/lang/Object;)Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/operations/VideoHlsApi {
public final class org/jellyfin/sdk/api/operations/VideoHlsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getLiveHlsStream (Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getLiveHlsStream$default (Lorg/jellyfin/sdk/api/operations/VideoHlsApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Lkotlin/coroutines/Continuation;IILjava/lang/Object;)Ljava/lang/Object;
@ -1077,7 +1143,7 @@ public final class org/jellyfin/sdk/api/operations/VideoHlsApi {
public static synthetic fun getLiveHlsStreamUrl$default (Lorg/jellyfin/sdk/api/operations/VideoHlsApi;Ljava/util/UUID;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Float;Ljava/lang/Float;Ljava/lang/Boolean;Ljava/lang/Long;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/SubtitleDeliveryMethod;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Boolean;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/String;Ljava/lang/Boolean;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Integer;Ljava/lang/Integer;Lorg/jellyfin/sdk/model/api/EncodingContext;Ljava/util/Map;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Boolean;ZIILjava/lang/Object;)Ljava/lang/String;
}
public final class org/jellyfin/sdk/api/operations/VideosApi {
public final class org/jellyfin/sdk/api/operations/VideosApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun deleteAlternateSources (Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public final fun getAdditionalPart (Ljava/util/UUID;Ljava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
@ -1094,7 +1160,7 @@ public final class org/jellyfin/sdk/api/operations/VideosApi {
public static synthetic fun mergeVersions$default (Lorg/jellyfin/sdk/api/operations/VideosApi;Ljava/util/Collection;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
}
public final class org/jellyfin/sdk/api/operations/YearsApi {
public final class org/jellyfin/sdk/api/operations/YearsApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun getYear (ILjava/util/UUID;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
public static synthetic fun getYear$default (Lorg/jellyfin/sdk/api/operations/YearsApi;ILjava/util/UUID;Lkotlin/coroutines/Continuation;ILjava/lang/Object;)Ljava/lang/Object;
@ -1107,7 +1173,7 @@ public final class org/jellyfin/sdk/api/sockets/SocketSubscription {
public final fun cancel ()V
}
public final class org/jellyfin/sdk/api/sockets/WebSocketApi {
public final class org/jellyfin/sdk/api/sockets/WebSocketApi : org/jellyfin/sdk/api/operations/Api {
public fun <init> (Lorg/jellyfin/sdk/api/client/ApiClient;)V
public final fun cancelSubscription (Lorg/jellyfin/sdk/api/sockets/SocketSubscription;)V
public final fun publish (Lorg/jellyfin/sdk/model/socket/OutgoingSocketMessage;Lkotlinx/serialization/KSerializer;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

View File

@ -0,0 +1,248 @@
// !! 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.api.client.extensions
import org.jellyfin.sdk.api.client.ApiClient
import org.jellyfin.sdk.api.operations.ActivityLogApi
import org.jellyfin.sdk.api.operations.ApiKeyApi
import org.jellyfin.sdk.api.operations.ArtistsApi
import org.jellyfin.sdk.api.operations.AudioApi
import org.jellyfin.sdk.api.operations.BrandingApi
import org.jellyfin.sdk.api.operations.ChannelsApi
import org.jellyfin.sdk.api.operations.CollectionApi
import org.jellyfin.sdk.api.operations.ConfigurationApi
import org.jellyfin.sdk.api.operations.DashboardApi
import org.jellyfin.sdk.api.operations.DevicesApi
import org.jellyfin.sdk.api.operations.DisplayPreferencesApi
import org.jellyfin.sdk.api.operations.DlnaApi
import org.jellyfin.sdk.api.operations.DlnaServerApi
import org.jellyfin.sdk.api.operations.DynamicHlsApi
import org.jellyfin.sdk.api.operations.EnvironmentApi
import org.jellyfin.sdk.api.operations.FilterApi
import org.jellyfin.sdk.api.operations.GenresApi
import org.jellyfin.sdk.api.operations.HlsSegmentApi
import org.jellyfin.sdk.api.operations.ImageApi
import org.jellyfin.sdk.api.operations.ImageByNameApi
import org.jellyfin.sdk.api.operations.InstantMixApi
import org.jellyfin.sdk.api.operations.ItemLookupApi
import org.jellyfin.sdk.api.operations.ItemRefreshApi
import org.jellyfin.sdk.api.operations.ItemUpdateApi
import org.jellyfin.sdk.api.operations.ItemsApi
import org.jellyfin.sdk.api.operations.LibraryApi
import org.jellyfin.sdk.api.operations.LibraryStructureApi
import org.jellyfin.sdk.api.operations.LiveTvApi
import org.jellyfin.sdk.api.operations.LocalizationApi
import org.jellyfin.sdk.api.operations.MediaInfoApi
import org.jellyfin.sdk.api.operations.MoviesApi
import org.jellyfin.sdk.api.operations.MusicGenresApi
import org.jellyfin.sdk.api.operations.NotificationsApi
import org.jellyfin.sdk.api.operations.PackageApi
import org.jellyfin.sdk.api.operations.PersonsApi
import org.jellyfin.sdk.api.operations.PlayStateApi
import org.jellyfin.sdk.api.operations.PlaylistsApi
import org.jellyfin.sdk.api.operations.PluginsApi
import org.jellyfin.sdk.api.operations.QuickConnectApi
import org.jellyfin.sdk.api.operations.RemoteImageApi
import org.jellyfin.sdk.api.operations.ScheduledTasksApi
import org.jellyfin.sdk.api.operations.SearchApi
import org.jellyfin.sdk.api.operations.SessionApi
import org.jellyfin.sdk.api.operations.StartupApi
import org.jellyfin.sdk.api.operations.StudiosApi
import org.jellyfin.sdk.api.operations.SubtitleApi
import org.jellyfin.sdk.api.operations.SuggestionsApi
import org.jellyfin.sdk.api.operations.SyncPlayApi
import org.jellyfin.sdk.api.operations.SystemApi
import org.jellyfin.sdk.api.operations.TimeSyncApi
import org.jellyfin.sdk.api.operations.TrailersApi
import org.jellyfin.sdk.api.operations.TvShowsApi
import org.jellyfin.sdk.api.operations.UniversalAudioApi
import org.jellyfin.sdk.api.operations.UserApi
import org.jellyfin.sdk.api.operations.UserLibraryApi
import org.jellyfin.sdk.api.operations.UserViewsApi
import org.jellyfin.sdk.api.operations.VideoAttachmentsApi
import org.jellyfin.sdk.api.operations.VideoHlsApi
import org.jellyfin.sdk.api.operations.VideosApi
import org.jellyfin.sdk.api.operations.YearsApi
public val ApiClient.activityLogApi: ActivityLogApi
get() = getOrCreateApi { ActivityLogApi(it) }
public val ApiClient.apiKeyApi: ApiKeyApi
get() = getOrCreateApi { ApiKeyApi(it) }
public val ApiClient.artistsApi: ArtistsApi
get() = getOrCreateApi { ArtistsApi(it) }
public val ApiClient.audioApi: AudioApi
get() = getOrCreateApi { AudioApi(it) }
public val ApiClient.brandingApi: BrandingApi
get() = getOrCreateApi { BrandingApi(it) }
public val ApiClient.channelsApi: ChannelsApi
get() = getOrCreateApi { ChannelsApi(it) }
public val ApiClient.collectionApi: CollectionApi
get() = getOrCreateApi { CollectionApi(it) }
public val ApiClient.configurationApi: ConfigurationApi
get() = getOrCreateApi { ConfigurationApi(it) }
public val ApiClient.dashboardApi: DashboardApi
get() = getOrCreateApi { DashboardApi(it) }
public val ApiClient.devicesApi: DevicesApi
get() = getOrCreateApi { DevicesApi(it) }
public val ApiClient.displayPreferencesApi: DisplayPreferencesApi
get() = getOrCreateApi { DisplayPreferencesApi(it) }
public val ApiClient.dlnaApi: DlnaApi
get() = getOrCreateApi { DlnaApi(it) }
public val ApiClient.dlnaServerApi: DlnaServerApi
get() = getOrCreateApi { DlnaServerApi(it) }
public val ApiClient.dynamicHlsApi: DynamicHlsApi
get() = getOrCreateApi { DynamicHlsApi(it) }
public val ApiClient.environmentApi: EnvironmentApi
get() = getOrCreateApi { EnvironmentApi(it) }
public val ApiClient.filterApi: FilterApi
get() = getOrCreateApi { FilterApi(it) }
public val ApiClient.genresApi: GenresApi
get() = getOrCreateApi { GenresApi(it) }
public val ApiClient.hlsSegmentApi: HlsSegmentApi
get() = getOrCreateApi { HlsSegmentApi(it) }
public val ApiClient.imageApi: ImageApi
get() = getOrCreateApi { ImageApi(it) }
public val ApiClient.imageByNameApi: ImageByNameApi
get() = getOrCreateApi { ImageByNameApi(it) }
public val ApiClient.instantMixApi: InstantMixApi
get() = getOrCreateApi { InstantMixApi(it) }
public val ApiClient.itemLookupApi: ItemLookupApi
get() = getOrCreateApi { ItemLookupApi(it) }
public val ApiClient.itemRefreshApi: ItemRefreshApi
get() = getOrCreateApi { ItemRefreshApi(it) }
public val ApiClient.itemsApi: ItemsApi
get() = getOrCreateApi { ItemsApi(it) }
public val ApiClient.libraryApi: LibraryApi
get() = getOrCreateApi { LibraryApi(it) }
public val ApiClient.itemUpdateApi: ItemUpdateApi
get() = getOrCreateApi { ItemUpdateApi(it) }
public val ApiClient.libraryStructureApi: LibraryStructureApi
get() = getOrCreateApi { LibraryStructureApi(it) }
public val ApiClient.liveTvApi: LiveTvApi
get() = getOrCreateApi { LiveTvApi(it) }
public val ApiClient.localizationApi: LocalizationApi
get() = getOrCreateApi { LocalizationApi(it) }
public val ApiClient.mediaInfoApi: MediaInfoApi
get() = getOrCreateApi { MediaInfoApi(it) }
public val ApiClient.moviesApi: MoviesApi
get() = getOrCreateApi { MoviesApi(it) }
public val ApiClient.musicGenresApi: MusicGenresApi
get() = getOrCreateApi { MusicGenresApi(it) }
public val ApiClient.notificationsApi: NotificationsApi
get() = getOrCreateApi { NotificationsApi(it) }
public val ApiClient.packageApi: PackageApi
get() = getOrCreateApi { PackageApi(it) }
public val ApiClient.personsApi: PersonsApi
get() = getOrCreateApi { PersonsApi(it) }
public val ApiClient.playlistsApi: PlaylistsApi
get() = getOrCreateApi { PlaylistsApi(it) }
public val ApiClient.playStateApi: PlayStateApi
get() = getOrCreateApi { PlayStateApi(it) }
public val ApiClient.pluginsApi: PluginsApi
get() = getOrCreateApi { PluginsApi(it) }
public val ApiClient.quickConnectApi: QuickConnectApi
get() = getOrCreateApi { QuickConnectApi(it) }
public val ApiClient.remoteImageApi: RemoteImageApi
get() = getOrCreateApi { RemoteImageApi(it) }
public val ApiClient.scheduledTasksApi: ScheduledTasksApi
get() = getOrCreateApi { ScheduledTasksApi(it) }
public val ApiClient.searchApi: SearchApi
get() = getOrCreateApi { SearchApi(it) }
public val ApiClient.sessionApi: SessionApi
get() = getOrCreateApi { SessionApi(it) }
public val ApiClient.startupApi: StartupApi
get() = getOrCreateApi { StartupApi(it) }
public val ApiClient.studiosApi: StudiosApi
get() = getOrCreateApi { StudiosApi(it) }
public val ApiClient.subtitleApi: SubtitleApi
get() = getOrCreateApi { SubtitleApi(it) }
public val ApiClient.suggestionsApi: SuggestionsApi
get() = getOrCreateApi { SuggestionsApi(it) }
public val ApiClient.syncPlayApi: SyncPlayApi
get() = getOrCreateApi { SyncPlayApi(it) }
public val ApiClient.systemApi: SystemApi
get() = getOrCreateApi { SystemApi(it) }
public val ApiClient.timeSyncApi: TimeSyncApi
get() = getOrCreateApi { TimeSyncApi(it) }
public val ApiClient.trailersApi: TrailersApi
get() = getOrCreateApi { TrailersApi(it) }
public val ApiClient.tvShowsApi: TvShowsApi
get() = getOrCreateApi { TvShowsApi(it) }
public val ApiClient.universalAudioApi: UniversalAudioApi
get() = getOrCreateApi { UniversalAudioApi(it) }
public val ApiClient.userApi: UserApi
get() = getOrCreateApi { UserApi(it) }
public val ApiClient.userLibraryApi: UserLibraryApi
get() = getOrCreateApi { UserLibraryApi(it) }
public val ApiClient.userViewsApi: UserViewsApi
get() = getOrCreateApi { UserViewsApi(it) }
public val ApiClient.videoAttachmentsApi: VideoAttachmentsApi
get() = getOrCreateApi { VideoAttachmentsApi(it) }
public val ApiClient.videoHlsApi: VideoHlsApi
get() = getOrCreateApi { VideoHlsApi(it) }
public val ApiClient.videosApi: VideosApi
get() = getOrCreateApi { VideosApi(it) }
public val ApiClient.yearsApi: YearsApi
get() = getOrCreateApi { YearsApi(it) }

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.ActivityLogEntryQueryResult
public class ActivityLogApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets activity log entries.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.AuthenticationInfoQueryResult
public class ApiKeyApi(
private val api: ApiClient
) {
) : Api {
/**
* Create a new api key.
*

View File

@ -26,7 +26,7 @@ import org.jellyfin.sdk.model.api.ItemFilter
public class ArtistsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets all album artists from a given item, folder, or the entire library.
*

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.SubtitleDeliveryMethod
public class AudioApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets an audio stream.
*

View File

@ -15,7 +15,7 @@ import org.jellyfin.sdk.model.api.BrandingOptions
public class BrandingApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets branding css.
*/

View File

@ -26,7 +26,7 @@ import org.jellyfin.sdk.model.api.SortOrder
public class ChannelsApi(
private val api: ApiClient
) {
) : Api {
/**
* Get all channel features.
*/

View File

@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.CollectionCreationResult
public class CollectionApi(
private val api: ApiClient
) {
) : Api {
/**
* Adds items to a collection.
*

View File

@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.ServerConfiguration
public class ConfigurationApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets application configuration.
*/

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.ConfigurationPageType
public class DashboardApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets the configuration pages.
*

View File

@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.DeviceOptions
public class DevicesApi(
private val api: ApiClient
) {
) : Api {
/**
* Deletes a device.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.DisplayPreferencesDto
public class DisplayPreferencesApi(
private val api: ApiClient
) {
) : Api {
/**
* Get Display Preferences.
*

View File

@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.api.DeviceProfileInfo
public class DlnaApi(
private val api: ApiClient
) {
) : Api {
/**
* Creates a profile.
*/

View File

@ -18,7 +18,7 @@ import org.jellyfin.sdk.api.client.extensions.post
public class DlnaServerApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets Dlna media receiver registrar xml.
*

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.SubtitleDeliveryMethod
public class DynamicHlsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets a video stream using HTTP live streaming.
*

View File

@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.ValidatePathDto
public class EnvironmentApi(
private val api: ApiClient
) {
) : Api {
/**
* Get Default directory browser.
*/

View File

@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.api.QueryFiltersLegacy
public class FilterApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets query filters.
*

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.ItemFields
public class GenresApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets a genre, by name.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.api.client.extensions.delete
public class HlsSegmentApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets the specified audio segment for an audio item.
*

View File

@ -28,7 +28,7 @@ import org.jellyfin.sdk.model.api.ImageType
public class ImageApi(
private val api: ApiClient
) {
) : Api {
/**
* Delete an item's image.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.ImageByNameInfo
public class ImageByNameApi(
private val api: ApiClient
) {
) : Api {
/**
* Get General Image.
*

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.ItemFields
public class InstantMixApi(
private val api: ApiClient
) {
) : Api {
/**
* Creates an instant playlist based on a given album.
*

View File

@ -31,7 +31,7 @@ import org.jellyfin.sdk.model.api.TrailerInfoRemoteSearchQuery
public class ItemLookupApi(
private val api: ApiClient
) {
) : Api {
/**
* Applies search criteria to an item and refreshes metadata.
*

View File

@ -18,7 +18,7 @@ import org.jellyfin.sdk.model.api.MetadataRefreshMode
public class ItemRefreshApi(
private val api: ApiClient
) {
) : Api {
/**
* Refreshes metadata for an item.
*

View File

@ -20,7 +20,7 @@ import org.jellyfin.sdk.model.api.MetadataEditorInfo
public class ItemUpdateApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets metadata editor info for an item.
*

View File

@ -31,7 +31,7 @@ import org.jellyfin.sdk.model.api.VideoType
public class ItemsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets items based on a query.
*

View File

@ -34,7 +34,7 @@ import org.jellyfin.sdk.model.api.ThemeMediaResult
public class LibraryApi(
private val api: ApiClient
) {
) : Api {
/**
* Deletes an item from the library and filesystem.
*

View File

@ -28,7 +28,7 @@ import org.jellyfin.sdk.model.api.VirtualFolderInfo
public class LibraryStructureApi(
private val api: ApiClient
) {
) : Api {
/**
* Add a media path to a library.
*

View File

@ -47,7 +47,7 @@ import org.jellyfin.sdk.model.api.TunerHostInfo
public class LiveTvApi(
private val api: ApiClient
) {
) : Api {
/**
* Adds a listings provider.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.ParentalRating
public class LocalizationApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets known countries.
*/

View File

@ -28,7 +28,7 @@ import org.jellyfin.sdk.model.api.PlaybackInfoResponse
public class MediaInfoApi(
private val api: ApiClient
) {
) : Api {
/**
* Closes a media source.
*

View File

@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.RecommendationDto
public class MoviesApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets movie recommendations.
*

View File

@ -25,7 +25,7 @@ import org.jellyfin.sdk.model.api.ItemFields
public class MusicGenresApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets a music genre, by name.
*

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.NotificationsSummaryDto
public class NotificationsApi(
private val api: ApiClient
) {
) : Api {
/**
* Sends a notification to all admins.
*/

View File

@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.RepositoryInfo
public class PackageApi(
private val api: ApiClient
) {
) : Api {
/**
* Cancels a package installation.
*

View File

@ -25,7 +25,7 @@ import org.jellyfin.sdk.model.api.ItemFilter
public class PersonsApi(
private val api: ApiClient
) {
) : Api {
/**
* Get person by name.
*

View File

@ -29,7 +29,7 @@ import org.jellyfin.sdk.model.api.UserItemDataDto
public class PlayStateApi(
private val api: ApiClient
) {
) : Api {
/**
* Marks an item as played for user.
*

View File

@ -30,7 +30,7 @@ import org.jellyfin.sdk.model.api.PlaylistCreationResult
public class PlaylistsApi(
private val api: ApiClient
) {
) : Api {
/**
* Adds items to a playlist.
*

View File

@ -27,7 +27,7 @@ import org.jellyfin.sdk.model.api.Version
public class PluginsApi(
private val api: ApiClient
) {
) : Api {
/**
* Disable a plugin.
*

View File

@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.api.QuickConnectState
public class QuickConnectApi(
private val api: ApiClient
) {
) : Api {
/**
* Temporarily activates quick connect for five minutes.
*/

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.RemoteImageResult
public class RemoteImageApi(
private val api: ApiClient
) {
) : Api {
/**
* Downloads a remote image for an item.
*

View File

@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.TaskTriggerInfo
public class ScheduledTasksApi(
private val api: ApiClient
) {
) : Api {
/**
* Get task by id.
*

View File

@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.api.SearchHintResult
public class SearchApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets the search hint result.
*

View File

@ -34,7 +34,7 @@ import org.jellyfin.sdk.model.api.SessionInfo
public class SessionApi(
private val api: ApiClient
) {
) : Api {
/**
* Adds an additional user to a session.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.api.StartupUserDto
public class StartupApi(
private val api: ApiClient
) {
) : Api {
/**
* Completes the startup wizard.
*/

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.ItemFields
public class StudiosApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets a studio by name.
*

View File

@ -28,7 +28,7 @@ import org.jellyfin.sdk.model.api.UploadSubtitleDto
public class SubtitleApi(
private val api: ApiClient
) {
) : Api {
/**
* Deletes an external subtitle file.
*

View File

@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.api.BaseItemDtoQueryResult
public class SuggestionsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets suggestions.
*

View File

@ -34,7 +34,7 @@ import org.jellyfin.sdk.model.api.SetShuffleModeRequestDto
public class SyncPlayApi(
private val api: ApiClient
) {
) : Api {
/**
* Notify SyncPlay group that member is buffering.
*/

View File

@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.WakeOnLanInfo
public class SystemApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets information about the request endpoint.
*/

View File

@ -15,7 +15,7 @@ import org.jellyfin.sdk.model.api.UtcTimeResponse
public class TimeSyncApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets the current UTC time.
*/

View File

@ -30,7 +30,7 @@ import org.jellyfin.sdk.model.api.VideoType
public class TrailersApi(
private val api: ApiClient
) {
) : Api {
/**
* Finds movies and trailers similar to a given trailer.
*

View File

@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.ItemFields
public class TvShowsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets episodes for a tv season.
*

View File

@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.UUID
public class UniversalAudioApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets an audio stream.
*

View File

@ -35,7 +35,7 @@ import org.jellyfin.sdk.model.api.UserPolicy
public class UserApi(
private val api: ApiClient
) {
) : Api {
/**
* Authenticates a user.
*

View File

@ -29,7 +29,7 @@ import org.jellyfin.sdk.model.api.UserItemDataDto
public class UserLibraryApi(
private val api: ApiClient
) {
) : Api {
/**
* Deletes a user's saved personal rating for an item.
*

View File

@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.SpecialViewOptionDto
public class UserViewsApi(
private val api: ApiClient
) {
) : Api {
/**
* Get user view grouping options.
*

View File

@ -19,7 +19,7 @@ import org.jellyfin.sdk.model.UUID
public class VideoAttachmentsApi(
private val api: ApiClient
) {
) : Api {
/**
* Get video attachment.
*

View File

@ -24,7 +24,7 @@ import org.jellyfin.sdk.model.api.SubtitleDeliveryMethod
public class VideoHlsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets a hls live stream.
*

View File

@ -30,7 +30,7 @@ import org.jellyfin.sdk.model.api.SubtitleDeliveryMethod
public class VideosApi(
private val api: ApiClient
) {
) : Api {
/**
* Removes alternate video sources.
*

View File

@ -25,7 +25,7 @@ import org.jellyfin.sdk.model.api.SortOrder
public class YearsApi(
private val api: ApiClient
) {
) : Api {
/**
* Gets a year.
*

View File

@ -1,11 +1,13 @@
package org.jellyfin.sdk.api.client
import org.jellyfin.sdk.api.client.util.UrlBuilder
import org.jellyfin.sdk.api.operations.Api
import org.jellyfin.sdk.model.ClientInfo
import org.jellyfin.sdk.model.DeviceInfo
import org.jellyfin.sdk.model.UUID
import kotlin.reflect.KClass
public interface ApiClient {
public abstract class ApiClient {
public companion object {
/**
* The query parameter to use for access tokens. Used in the [createUrl] function when includeCredentials is
@ -17,34 +19,34 @@ public interface ApiClient {
/**
* URL to use as base for API endpoints. Should include the protocol and may contain a path.
*/
public var baseUrl: String?
public abstract var baseUrl: String?
/**
* Access token to use for requests. Appended to all requests if set.
*/
public var accessToken: String?
public abstract var accessToken: String?
/**
* User identifier that will automatically be used in user-specific API operations.
* Should correspond to the same user as [accessToken].
*/
public var userId: UUID?
public abstract var userId: UUID?
/**
* Information about the client / application send in all API requests.
*/
public var clientInfo: ClientInfo
public abstract var clientInfo: ClientInfo
/**
* Information about the device send in all API requests. Only a single session is allowed per
* device id.
*/
public var deviceInfo: DeviceInfo
public abstract var deviceInfo: DeviceInfo
/**
* HTTP Options for this ApiClient.
*/
public val httpClientOptions: HttpClientOptions
public abstract val httpClientOptions: HttpClientOptions
/**
* Create a complete url based on the [baseUrl] and given parameters.
@ -53,7 +55,7 @@ public interface ApiClient {
* When [includeCredentials] is true it will add the access token as query parameter using [QUERY_ACCESS_TOKEN]
* to the url to make an authenticated request.
*/
public fun createUrl(
public open fun createUrl(
pathTemplate: String,
pathParameters: Map<String, Any?> = emptyMap(),
queryParameters: Map<String, Any?> = emptyMap(),
@ -68,11 +70,22 @@ public interface ApiClient {
}
)
public suspend fun request(
public abstract suspend fun request(
method: HttpMethod = HttpMethod.GET,
pathTemplate: String,
pathParameters: Map<String, Any?> = emptyMap(),
queryParameters: Map<String, Any?> = emptyMap(),
requestBody: Any? = null,
): RawResponse
private val apiInstances = mutableMapOf<KClass<out Api>, Api>()
@Suppress("UNCHECKED_CAST")
public fun <T : Api> getOrCreateApi(kclass: KClass<T>, create: (apiClient: ApiClient) -> T): T =
apiInstances.getOrPut(kclass) {
create(this)
} as T
public inline fun <reified T : Api> getOrCreateApi(noinline create: (apiClient: ApiClient) -> T): T =
getOrCreateApi(T::class, create)
}

View File

@ -0,0 +1,3 @@
package org.jellyfin.sdk.api.operations
public interface Api

View File

@ -30,7 +30,7 @@ public actual open class KtorClient actual constructor(
override var clientInfo: ClientInfo,
override var deviceInfo: DeviceInfo,
override val httpClientOptions: HttpClientOptions,
) : ApiClient {
) : ApiClient() {
private val client: HttpClient = HttpClient {
followRedirects = httpClientOptions.followRedirects
expectSuccess = false

View File

@ -0,0 +1,9 @@
@file:JvmName("CommonApiClientExtensionsKt")
package org.jellyfin.sdk.api.client.extensions
import org.jellyfin.sdk.api.client.ApiClient
import org.jellyfin.sdk.api.sockets.WebSocketApi
public val ApiClient.webSocket: WebSocketApi
get() = getOrCreateApi { WebSocketApi(it) }

View File

@ -1,4 +1,4 @@
package org.jellyfin.sdk.api.client.extensions
package org.jellyfin.sdk.api.extensions
import org.jellyfin.sdk.api.operations.MediaInfoApi
import org.jellyfin.sdk.model.BitrateMeasurement

View File

@ -18,6 +18,7 @@ import kotlinx.serialization.serializer
import mu.KotlinLogging
import org.jellyfin.sdk.api.client.ApiClient
import org.jellyfin.sdk.api.client.util.ApiSerializer
import org.jellyfin.sdk.api.operations.Api
import org.jellyfin.sdk.model.api.SessionMessageType
import org.jellyfin.sdk.model.api.SessionMessageType.*
import org.jellyfin.sdk.model.socket.*
@ -35,7 +36,7 @@ private val logger = KotlinLogging.logger {}
*/
public class WebSocketApi(
private val api: ApiClient,
) {
) : Api {
private companion object {
private const val JSON_PROP_DATA = "Data"
private const val JSON_PROP_MESSAGE_ID = "MessageId"
@ -201,7 +202,9 @@ public class WebSocketApi(
require(messageId is String)
// Read type
val type = message[JSON_PROP_MESSAGE_TYPE]?.let { ApiSerializer.json.decodeFromJsonElement<SessionMessageType>(it) }
val type = message[JSON_PROP_MESSAGE_TYPE]?.let {
ApiSerializer.json.decodeFromJsonElement<SessionMessageType>(it)
}
requireNotNull(type)
// Get serializer for type
@ -287,4 +290,3 @@ public class WebSocketApi(
subscriptionsChanged()
}
}

View File

@ -13,7 +13,7 @@ import org.jellyfin.sdk.api.client.Response
import org.jellyfin.sdk.api.client.exception.InvalidContentException
import org.jellyfin.sdk.api.client.exception.InvalidStatusException
import org.jellyfin.sdk.api.client.exception.TimeoutException
import org.jellyfin.sdk.api.operations.SystemApi
import org.jellyfin.sdk.api.client.extensions.systemApi
import org.jellyfin.sdk.model.ServerVersion
import org.jellyfin.sdk.model.api.PublicSystemInfo
import org.jellyfin.sdk.util.currentTimeMillis
@ -109,13 +109,12 @@ public class RecommendedServerDiscovery constructor(
socketTimeout = HTTP_TIMEOUT,
),
)
val api = SystemApi(client)
val responseTimeStart = currentTimeMillis()
@Suppress("TooGenericExceptionCaught")
val info: Result<Response<PublicSystemInfo>> = try {
val response = api.getPublicSystemInfo()
val response = client.systemApi.getPublicSystemInfo()
if (response.status == HTTP_OK) Result.success(response)
else Result.failure(InvalidStatusException(response.status))
} catch (err: TimeoutException) {

View File

@ -8,6 +8,7 @@ import io.swagger.v3.parser.OpenAPIV3Parser
import io.swagger.v3.parser.core.models.SwaggerParseResult
import mu.KotlinLogging
import org.jellyfin.openapi.builder.api.ApiBuilder
import org.jellyfin.openapi.builder.api.ApiClientExtensionsBuilder
import org.jellyfin.openapi.builder.extra.FileSpecBuilder
import org.jellyfin.openapi.builder.openapi.OpenApiApiServicesBuilder
import org.jellyfin.openapi.builder.openapi.OpenApiConstantsBuilder
@ -23,6 +24,7 @@ class Generator(
private val openApiApiServicesBuilder: OpenApiApiServicesBuilder,
private val openApiConstantsBuilder: OpenApiConstantsBuilder,
private val apiBuilder: ApiBuilder,
private val apiClientExtensionsBuilder: ApiClientExtensionsBuilder,
) {
private fun parse(openApiJson: String): SwaggerParseResult {
val parseResult = OpenAPIV3Parser().readContents(openApiJson)
@ -36,9 +38,12 @@ class Generator(
openApiModelBuilder.build(schema).let(fileSpecBuilder::build)
}
private fun createApis(paths: Paths): List<FileSpec> = openApiApiServicesBuilder.build(paths)
.map(apiBuilder::build)
.map(fileSpecBuilder::build)
private fun createApis(paths: Paths): List<FileSpec> = openApiApiServicesBuilder.build(paths).let { services ->
services
.map(apiBuilder::build)
.map(fileSpecBuilder::build)
.plus(services.let(apiClientExtensionsBuilder::build))
}
private fun createApiConstants(info: Info): FileSpec = openApiConstantsBuilder.build(info)
.let(fileSpecBuilder::build)

View File

@ -1,9 +1,6 @@
package org.jellyfin.openapi
import org.jellyfin.openapi.builder.api.ApiBuilder
import org.jellyfin.openapi.builder.api.ApiNameBuilder
import org.jellyfin.openapi.builder.api.OperationBuilder
import org.jellyfin.openapi.builder.api.OperationUrlBuilder
import org.jellyfin.openapi.builder.api.*
import org.jellyfin.openapi.builder.extra.DeprecatedAnnotationSpecBuilder
import org.jellyfin.openapi.builder.extra.DescriptionBuilder
import org.jellyfin.openapi.builder.extra.FileSpecBuilder
@ -16,7 +13,7 @@ import org.jellyfin.openapi.builder.openapi.*
import org.koin.dsl.module
val mainModule = module {
single { Generator(get(), get(), get(), get(), get()) }
single { Generator(get(), get(), get(), get(), get(), get()) }
// OpenAPI
single { OpenApiTypeBuilder(getAll()) }
@ -30,6 +27,7 @@ val mainModule = module {
single { OperationBuilder(get(), get()) }
single { OperationUrlBuilder(get(), get()) }
single { ApiBuilder(get(), get(), getAll()) }
single { ApiClientExtensionsBuilder(get()) }
// Models
single { ModelBuilder(get(), get(), get()) }

View File

@ -15,6 +15,9 @@ class ApiBuilder(
private val operationUrlHooks: Collection<OperationUrlHook>,
) : Builder<ApiService, JellyFile> {
override fun build(data: ApiService): JellyFile = TypeSpec.classBuilder(data.name).apply {
// Add "Api" interface as super
addSuperinterface(ClassName(Packages.API, Classes.API_INTERFACE))
// Add "api" value to constructor
val apiClientType = ClassName(Packages.API_CLIENT, Classes.API_CLIENT)
addProperty(PropertySpec.builder(Strings.API_CLIENT_PARAMETER_NAME, apiClientType, KModifier.PRIVATE)

View File

@ -0,0 +1,34 @@
package org.jellyfin.openapi.builder.api
import com.squareup.kotlinpoet.ClassName
import com.squareup.kotlinpoet.FileSpec
import com.squareup.kotlinpoet.FunSpec
import com.squareup.kotlinpoet.PropertySpec
import org.jellyfin.openapi.builder.Builder
import org.jellyfin.openapi.builder.extra.FileSpecBuilder
import org.jellyfin.openapi.constants.Classes
import org.jellyfin.openapi.constants.Packages
import org.jellyfin.openapi.model.ApiService
class ApiClientExtensionsBuilder(
private val fileSpecBuilder: FileSpecBuilder,
) : Builder<Collection<ApiService>, FileSpec> {
override fun build(data: Collection<ApiService>): FileSpec {
return FileSpec.builder(Packages.API_CLIENT_EXTENSIONS, Classes.API_CLIENT_EXTENSIONS).apply {
fileSpecBuilder.buildHeader(this)
data.forEach { api -> addProperty(buildExtensionProperty(api)) }
}.build()
}
fun buildExtensionProperty(api: ApiService): PropertySpec {
val apiType = ClassName(Packages.API, api.name)
val propertyName = api.name.replaceFirstChar(Char::lowercase)
return PropertySpec.builder(propertyName, apiType).apply {
receiver(ClassName(Packages.API_CLIENT, Classes.API_CLIENT))
getter(FunSpec.getterBuilder().apply {
addStatement("return getOrCreateApi { %T(it) }", apiType)
}.build())
}.build()
}
}

View File

@ -8,10 +8,15 @@ import org.jellyfin.openapi.model.JellyFile
class FileSpecBuilder : Builder<JellyFile, FileSpec> {
override fun build(data: JellyFile): FileSpec {
return FileSpec.builder(data.namespace, data.typeSpec.name!!).apply {
indent("\t")
addComment(Strings.FILE_TOP_WARNING)
buildHeader(this)
data.annotations.forEach { addAnnotation(it) }
addType(data.typeSpec)
}.build()
}
fun buildHeader(data: FileSpec.Builder) = data.apply {
indent("\t")
addComment(Strings.FILE_TOP_WARNING)
}
}

View File

@ -2,7 +2,9 @@ package org.jellyfin.openapi.constants
object Classes {
const val API_CLIENT = "ApiClient"
const val API_CLIENT_EXTENSIONS = "ApiClientExtensions"
const val API_RESPONSE = "Response"
const val API_INTERFACE = "Api"
object Serializers {
const val UUID = "UUIDSerializer"

View File

@ -16,6 +16,11 @@ object Packages {
*/
const val API_CLIENT = "org.jellyfin.sdk.api.client"
/**
* Package for client extensions
*/
const val API_CLIENT_EXTENSIONS = "org.jellyfin.sdk.api.client.extensions"
/**
* Package for the API exceptions
*/

View File

@ -7,9 +7,9 @@ import kotlinx.coroutines.runBlocking
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sample.cli.tokenOption
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.client.extensions.detectBitrate
import org.jellyfin.sdk.api.client.extensions.measureBitrate
import org.jellyfin.sdk.api.operations.MediaInfoApi
import org.jellyfin.sdk.api.client.extensions.mediaInfoApi
import org.jellyfin.sdk.api.extensions.detectBitrate
import org.jellyfin.sdk.api.extensions.measureBitrate
class Bitrate(
private val jellyfin: Jellyfin,
@ -27,11 +27,10 @@ class Bitrate(
override fun run(): Unit = runBlocking {
val api = jellyfin.createApi(baseUrl = server, accessToken = token)
val mediaInfoApi = MediaInfoApi(api)
val measurement = when {
bytes != null -> mediaInfoApi.measureBitrate(bytes!!)
else -> mediaInfoApi.detectBitrate()
bytes != null -> api.mediaInfoApi.measureBitrate(bytes!!)
else -> api.mediaInfoApi.detectBitrate()
}
echo(buildString {

View File

@ -5,8 +5,8 @@ import kotlinx.coroutines.runBlocking
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sample.cli.tokenOption
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.operations.SessionApi
import org.jellyfin.sdk.api.operations.UserViewsApi
import org.jellyfin.sdk.api.client.extensions.sessionApi
import org.jellyfin.sdk.api.client.extensions.userViewsApi
class Libraries(
private val jellyfin: Jellyfin
@ -16,14 +16,12 @@ class Libraries(
override fun run(): Unit = runBlocking {
val api = jellyfin.createApi(baseUrl = server, accessToken = token)
val sessionApi = SessionApi(api)
val userViewsApi = UserViewsApi(api)
val sessionInfo = sessionApi.getSessions(deviceId = api.deviceInfo.id).content.firstOrNull()
val sessionInfo = api.sessionApi.getSessions(deviceId = api.deviceInfo.id).content.firstOrNull()
if (sessionInfo == null) println("Unknown session")
api.userId = sessionInfo?.userId
val libraries by userViewsApi.getUserViews(includeHidden = false)
val libraries by api.userViewsApi.getUserViews(includeHidden = false)
if (libraries.items.isNullOrEmpty()) println("No libraries found")

View File

@ -4,10 +4,10 @@ import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.parameters.options.option
import com.github.ajalt.clikt.parameters.options.required
import kotlinx.coroutines.runBlocking
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.client.extensions.authenticateUserByName
import org.jellyfin.sdk.api.operations.UserApi
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sdk.api.client.extensions.userApi
class Login(
private val jellyfin: Jellyfin
@ -18,9 +18,8 @@ class Login(
override fun run() = runBlocking {
val api = jellyfin.createApi(baseUrl = server)
val userApi = UserApi(api)
val result by userApi.authenticateUserByName(username, password.orEmpty())
val result by api.userApi.authenticateUserByName(username, password.orEmpty())
if (result.accessToken != null) println(result.accessToken)
}

View File

@ -1,15 +1,15 @@
package org.jellyfin.sample.cli.command
import com.github.ajalt.clikt.core.CliktCommand
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.runBlocking
import kotlinx.coroutines.flow.collect
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sample.cli.tokenOption
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.sockets.WebSocketApi
import org.jellyfin.sdk.api.client.extensions.webSocket
import org.jellyfin.sdk.model.socket.ActivityLogEntryStartMessage
import org.jellyfin.sdk.model.socket.ScheduledTasksInfoStartMessage
import org.jellyfin.sdk.model.socket.SessionsStartMessage
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sample.cli.tokenOption
class Observe(
private val jellyfin: Jellyfin
@ -19,7 +19,7 @@ class Observe(
override fun run() = runBlocking {
val api = jellyfin.createApi(baseUrl = server, accessToken = token)
val webSocketApi = WebSocketApi(api)
val webSocketApi = api.webSocket
println("Starting subscription")

View File

@ -8,7 +8,7 @@ import kotlinx.coroutines.flow.onEach
import kotlinx.coroutines.runBlocking
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.operations.SystemApi
import org.jellyfin.sdk.api.client.extensions.systemApi
class Ping(
private val jellyfin: Jellyfin,
@ -26,9 +26,8 @@ class Ping(
private suspend fun runSimple() {
val api = jellyfin.createApi(baseUrl = server)
val systemApi = SystemApi(api)
val result by systemApi.getPublicSystemInfo()
val result by api.systemApi.getPublicSystemInfo()
println("id: ${result.id}")
println("name: ${result.serverName}")

View File

@ -2,9 +2,9 @@ package org.jellyfin.sample.cli.command
import com.github.ajalt.clikt.core.CliktCommand
import kotlinx.coroutines.runBlocking
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.operations.UserApi
import org.jellyfin.sample.cli.serverOption
import org.jellyfin.sdk.Jellyfin
import org.jellyfin.sdk.api.client.extensions.userApi
class Users(
private val jellyfin: Jellyfin
@ -13,9 +13,8 @@ class Users(
override fun run() = runBlocking {
val api = jellyfin.createApi(baseUrl = server)
val userApi = UserApi(api)
val users by userApi.getPublicUsers()
val users by api.userApi.getPublicUsers()
users.forEach {
println(it.name)