All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.org.jellyfin.sdk.api.operations.LocalizationApi.kt Maven / Gradle / Ivy

There is a newer version: 1.5.5
Show newest version
// !!        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.operations

import kotlin.Any
import kotlin.String
import kotlin.collections.List
import kotlin.collections.emptyMap
import org.jellyfin.sdk.api.client.ApiClient
import org.jellyfin.sdk.api.client.Response
import org.jellyfin.sdk.api.client.extensions.`get`
import org.jellyfin.sdk.model.api.CountryInfo
import org.jellyfin.sdk.model.api.CultureDto
import org.jellyfin.sdk.model.api.LocalizationOption
import org.jellyfin.sdk.model.api.ParentalRating

public class LocalizationApi(
	private val api: ApiClient,
) : Api {
	/**
	 * Gets known countries.
	 */
	public suspend fun getCountries(): Response> {
		val pathParameters = emptyMap()
		val queryParameters = emptyMap()
		val data = null
		val response = api.`get`>("/Localization/Countries", pathParameters,
				queryParameters, data)
		return response
	}

	/**
	 * Gets known cultures.
	 */
	public suspend fun getCultures(): Response> {
		val pathParameters = emptyMap()
		val queryParameters = emptyMap()
		val data = null
		val response = api.`get`>("/Localization/Cultures", pathParameters,
				queryParameters, data)
		return response
	}

	/**
	 * Gets localization options.
	 */
	public suspend fun getLocalizationOptions(): Response> {
		val pathParameters = emptyMap()
		val queryParameters = emptyMap()
		val data = null
		val response = api.`get`>("/Localization/Options", pathParameters,
				queryParameters, data)
		return response
	}

	/**
	 * Gets known parental ratings.
	 */
	public suspend fun getParentalRatings(): Response> {
		val pathParameters = emptyMap()
		val queryParameters = emptyMap()
		val data = null
		val response = api.`get`>("/Localization/ParentalRatings", pathParameters,
				queryParameters, data)
		return response
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy