/* 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 UpdateInitialConfigurationRequest
 */
export interface UpdateInitialConfigurationRequest {
    /**
     * Gets or sets UI language culture.
     * @type {string}
     * @memberof UpdateInitialConfigurationRequest
     */
    uICulture?: string | null;
    /**
     * Gets or sets the metadata country code.
     * @type {string}
     * @memberof UpdateInitialConfigurationRequest
     */
    metadataCountryCode?: string | null;
    /**
     * Gets or sets the preferred language for the metadata.
     * @type {string}
     * @memberof UpdateInitialConfigurationRequest
     */
    preferredMetadataLanguage?: string | null;
}

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

    return isInstance;
}

export function UpdateInitialConfigurationRequestFromJSON(json: any): UpdateInitialConfigurationRequest {
    return UpdateInitialConfigurationRequestFromJSONTyped(json, false);
}

export function UpdateInitialConfigurationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateInitialConfigurationRequest {
    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 UpdateInitialConfigurationRequestToJSON(value?: UpdateInitialConfigurationRequest | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'UICulture': value.uICulture,
        'MetadataCountryCode': value.metadataCountryCode,
        'PreferredMetadataLanguage': value.preferredMetadataLanguage,
    };
}

