Skip to content

Commit

Permalink
Update generated sources
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsvanvelzen authored and Maxr1998 committed Mar 25, 2022
1 parent c1ce3a8 commit 3a191cc
Show file tree
Hide file tree
Showing 331 changed files with 508 additions and 508 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.jellyfin.sdk.model.DateTime
import org.jellyfin.sdk.model.api.ActivityLogEntryQueryResult

public class ActivityLogApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets activity log entries.
Expand All @@ -33,7 +33,7 @@ public class ActivityLogApi(
startIndex: Int? = null,
limit: Int? = null,
minDate: DateTime? = null,
hasUserId: Boolean? = null
hasUserId: Boolean? = null,
): Response<ActivityLogEntryQueryResult> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.jellyfin.sdk.api.client.extensions.post
import org.jellyfin.sdk.model.api.AuthenticationInfoQueryResult

public class ApiKeyApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Create a new api key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.jellyfin.sdk.model.api.ItemFields
import org.jellyfin.sdk.model.api.ItemFilter

public class ArtistsApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets all album artists from a given item, folder, or the entire library.
Expand Down Expand Up @@ -109,7 +109,7 @@ public class ArtistsApi(
nameStartsWith: String? = null,
nameLessThan: String? = null,
enableImages: Boolean? = true,
enableTotalRecordCount: Boolean? = true
enableTotalRecordCount: Boolean? = true,
): Response<BaseItemDtoQueryResult> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down Expand Up @@ -247,7 +247,7 @@ public class ArtistsApi(
nameStartsWith: String? = null,
nameLessThan: String? = null,
enableImages: Boolean? = true,
enableTotalRecordCount: Boolean? = true
enableTotalRecordCount: Boolean? = true,
): Response<BaseItemDtoQueryResult> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.EncodingContext
import org.jellyfin.sdk.model.api.SubtitleDeliveryMethod

public class AudioApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets an audio stream.
Expand Down Expand Up @@ -142,7 +142,7 @@ public class AudioApi(
audioStreamIndex: Int? = null,
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap()
streamOptions: Map<String, String>? = emptyMap(),
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -320,7 +320,7 @@ public class AudioApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
includeCredentials: Boolean = false
includeCredentials: Boolean = false,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -494,7 +494,7 @@ public class AudioApi(
audioStreamIndex: Int? = null,
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap()
streamOptions: Map<String, String>? = emptyMap(),
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -672,7 +672,7 @@ public class AudioApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
includeCredentials: Boolean = false
includeCredentials: Boolean = false,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import org.jellyfin.sdk.api.client.extensions.`get`
import org.jellyfin.sdk.model.api.BrandingOptions

public class BrandingApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets branding css.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import org.jellyfin.sdk.model.api.ItemFilter
import org.jellyfin.sdk.model.api.SortOrder

public class ChannelsApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Get all channel features.
Expand Down Expand Up @@ -79,7 +79,7 @@ public class ChannelsApi(
sortOrder: Collection<SortOrder>? = emptyList(),
filters: Collection<ItemFilter>? = emptyList(),
sortBy: Collection<String>? = emptyList(),
fields: Collection<ItemFields>? = emptyList()
fields: Collection<ItemFields>? = emptyList(),
): Response<BaseItemDtoQueryResult> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["channelId"] = channelId
Expand Down Expand Up @@ -115,7 +115,7 @@ public class ChannelsApi(
limit: Int? = null,
supportsLatestItems: Boolean? = null,
supportsMediaDeletion: Boolean? = null,
isFavorite: Boolean? = null
isFavorite: Boolean? = null,
): Response<BaseItemDtoQueryResult> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down Expand Up @@ -148,7 +148,7 @@ public class ChannelsApi(
limit: Int? = null,
filters: Collection<ItemFilter>? = emptyList(),
fields: Collection<ItemFields>? = emptyList(),
channelIds: Collection<UUID>? = emptyList()
channelIds: Collection<UUID>? = emptyList(),
): Response<BaseItemDtoQueryResult> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.UUID
import org.jellyfin.sdk.model.api.CollectionCreationResult

public class CollectionApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Adds items to a collection.
Expand Down Expand Up @@ -53,7 +53,7 @@ public class CollectionApi(
name: String? = null,
ids: Collection<String>? = emptyList(),
parentId: UUID? = null,
isLocked: Boolean? = false
isLocked: Boolean? = false,
): Response<CollectionCreationResult> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import org.jellyfin.sdk.model.api.MetadataOptions
import org.jellyfin.sdk.model.api.ServerConfiguration

public class ConfigurationApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets application configuration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.jellyfin.sdk.model.api.ConfigurationPageInfo
import org.jellyfin.sdk.model.api.ConfigurationPageType

public class DashboardApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets the configuration pages.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.DeviceInfoQueryResult
import org.jellyfin.sdk.model.api.DeviceOptions

public class DevicesApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Deletes a device.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import org.jellyfin.sdk.model.UUID
import org.jellyfin.sdk.model.api.DisplayPreferencesDto

public class DisplayPreferencesApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Get Display Preferences.
Expand All @@ -30,7 +30,7 @@ public class DisplayPreferencesApi(
public suspend fun getDisplayPreferences(
displayPreferencesId: String,
userId: UUID = api.userId ?: throw MissingUserIdException(),
client: String
client: String,
): Response<DisplayPreferencesDto> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["displayPreferencesId"] = displayPreferencesId
Expand All @@ -54,7 +54,7 @@ public class DisplayPreferencesApi(
displayPreferencesId: String,
userId: UUID = api.userId ?: throw MissingUserIdException(),
client: String,
`data`: DisplayPreferencesDto
`data`: DisplayPreferencesDto,
): Response<Unit> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["displayPreferencesId"] = displayPreferencesId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import org.jellyfin.sdk.model.api.DeviceProfile
import org.jellyfin.sdk.model.api.DeviceProfileInfo

public class DlnaApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Creates a profile.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.jellyfin.sdk.api.client.extensions.`get`
import org.jellyfin.sdk.api.client.extensions.post

public class DlnaServerApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets Dlna media receiver registrar xml.
Expand Down Expand Up @@ -195,7 +195,7 @@ public class DlnaServerApi(
public fun getIconIdUrl(
serverId: String,
fileName: String,
includeCredentials: Boolean = false
includeCredentials: Boolean = false,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["serverId"] = serverId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import org.jellyfin.sdk.model.api.EncodingContext
import org.jellyfin.sdk.model.api.SubtitleDeliveryMethod

public class DynamicHlsApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Gets a video stream using HTTP live streaming.
Expand Down Expand Up @@ -149,7 +149,7 @@ public class DynamicHlsApi(
audioStreamIndex: Int? = null,
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap()
streamOptions: Map<String, String>? = emptyMap(),
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -338,7 +338,7 @@ public class DynamicHlsApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
includeCredentials: Boolean = true
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -520,7 +520,7 @@ public class DynamicHlsApi(
audioStreamIndex: Int? = null,
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap()
streamOptions: Map<String, String>? = emptyMap(),
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -706,7 +706,7 @@ public class DynamicHlsApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
includeCredentials: Boolean = true
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -884,7 +884,7 @@ public class DynamicHlsApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
enableAdaptiveBitrateStreaming: Boolean? = true
enableAdaptiveBitrateStreaming: Boolean? = true,
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -1065,7 +1065,7 @@ public class DynamicHlsApi(
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
enableAdaptiveBitrateStreaming: Boolean? = true,
includeCredentials: Boolean = true
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -1240,7 +1240,7 @@ public class DynamicHlsApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
enableAdaptiveBitrateStreaming: Boolean? = true
enableAdaptiveBitrateStreaming: Boolean? = true,
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -1418,7 +1418,7 @@ public class DynamicHlsApi(
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
enableAdaptiveBitrateStreaming: Boolean? = true,
includeCredentials: Boolean = true
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -1592,7 +1592,7 @@ public class DynamicHlsApi(
audioStreamIndex: Int? = null,
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap()
streamOptions: Map<String, String>? = emptyMap(),
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -1770,7 +1770,7 @@ public class DynamicHlsApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
includeCredentials: Boolean = true
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -1942,7 +1942,7 @@ public class DynamicHlsApi(
audioStreamIndex: Int? = null,
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap()
streamOptions: Map<String, String>? = emptyMap(),
): Response<ByteReadChannel> {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down Expand Up @@ -2117,7 +2117,7 @@ public class DynamicHlsApi(
videoStreamIndex: Int? = null,
context: EncodingContext? = null,
streamOptions: Map<String, String>? = emptyMap(),
includeCredentials: Boolean = true
includeCredentials: Boolean = true,
): String {
val pathParameters = mutableMapOf<String, Any?>()
pathParameters["itemId"] = itemId
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import org.jellyfin.sdk.model.api.FileSystemEntryInfo
import org.jellyfin.sdk.model.api.ValidatePathDto

public class EnvironmentApi(
private val api: ApiClient
private val api: ApiClient,
) : Api {
/**
* Get Default directory browser.
Expand All @@ -47,7 +47,7 @@ public class EnvironmentApi(
public suspend fun getDirectoryContents(
path: String,
includeFiles: Boolean? = false,
includeDirectories: Boolean? = false
includeDirectories: Boolean? = false,
): Response<List<FileSystemEntryInfo>> {
val pathParameters = emptyMap<String, Any?>()
val queryParameters = mutableMapOf<String, Any?>()
Expand Down
Loading

0 comments on commit 3a191cc

Please sign in to comment.