/* tslint:disable */
/* eslint-disable */
/**
 * Jellyfin API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 10.8.9
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */

import { exists, mapValues } from '../runtime';
/**
 * The startup configuration DTO.
 * @export
 * @interface StartupConfigurationDto
 */
export interface StartupConfigurationDto {
    /**
     * Gets or sets UI language culture.
     * @type {string}
     * @memberof StartupConfigurationDto
     */
    uICulture?: string | null;
    /**
     * Gets or sets the metadata country code.
     * @type {string}
     * @memberof StartupConfigurationDto
     */
    metadataCountryCode?: string | null;
    /**
     * Gets or sets the preferred language for the metadata.
     * @type {string}
     * @memberof StartupConfigurationDto
     */
    preferredMetadataLanguage?: string | null;
}

/**
 * Check if a given object implements the StartupConfigurationDto interface.
 */
export function instanceOfStartupConfigurationDto(value: object): boolean {
    let isInstance = true;

    return isInstance;
}

export function StartupConfigurationDtoFromJSON(json: any): StartupConfigurationDto {
    return StartupConfigurationDtoFromJSONTyped(json, false);
}

export function StartupConfigurationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): StartupConfigurationDto {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'uICulture': !exists(json, 'UICulture') ? undefined : json['UICulture'],
        'metadataCountryCode': !exists(json, 'MetadataCountryCode') ? undefined : json['MetadataCountryCode'],
        'preferredMetadataLanguage': !exists(json, 'PreferredMetadataLanguage') ? undefined : json['PreferredMetadataLanguage'],
    };
}

export function StartupConfigurationDtoToJSON(value?: StartupConfigurationDto | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'UICulture': value.uICulture,
        'MetadataCountryCode': value.metadataCountryCode,
        'PreferredMetadataLanguage': value.preferredMetadataLanguage,
    };
}

