/* 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';
/**
 * 
 * @export
 * @interface ConfigImageTypes
 */
export interface ConfigImageTypes {
    /**
     * 
     * @type {Array<string>}
     * @memberof ConfigImageTypes
     */
    backdropSizes?: Array<string> | null;
    /**
     * 
     * @type {string}
     * @memberof ConfigImageTypes
     */
    baseUrl?: string | null;
    /**
     * 
     * @type {Array<string>}
     * @memberof ConfigImageTypes
     */
    logoSizes?: Array<string> | null;
    /**
     * 
     * @type {Array<string>}
     * @memberof ConfigImageTypes
     */
    posterSizes?: Array<string> | null;
    /**
     * 
     * @type {Array<string>}
     * @memberof ConfigImageTypes
     */
    profileSizes?: Array<string> | null;
    /**
     * 
     * @type {string}
     * @memberof ConfigImageTypes
     */
    secureBaseUrl?: string | null;
    /**
     * 
     * @type {Array<string>}
     * @memberof ConfigImageTypes
     */
    stillSizes?: Array<string> | null;
}

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

    return isInstance;
}

export function ConfigImageTypesFromJSON(json: any): ConfigImageTypes {
    return ConfigImageTypesFromJSONTyped(json, false);
}

export function ConfigImageTypesFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConfigImageTypes {
    if ((json === undefined) || (json === null)) {
        return json;
    }
    return {
        
        'backdropSizes': !exists(json, 'BackdropSizes') ? undefined : json['BackdropSizes'],
        'baseUrl': !exists(json, 'BaseUrl') ? undefined : json['BaseUrl'],
        'logoSizes': !exists(json, 'LogoSizes') ? undefined : json['LogoSizes'],
        'posterSizes': !exists(json, 'PosterSizes') ? undefined : json['PosterSizes'],
        'profileSizes': !exists(json, 'ProfileSizes') ? undefined : json['ProfileSizes'],
        'secureBaseUrl': !exists(json, 'SecureBaseUrl') ? undefined : json['SecureBaseUrl'],
        'stillSizes': !exists(json, 'StillSizes') ? undefined : json['StillSizes'],
    };
}

export function ConfigImageTypesToJSON(value?: ConfigImageTypes | null): any {
    if (value === undefined) {
        return undefined;
    }
    if (value === null) {
        return null;
    }
    return {
        
        'BackdropSizes': value.backdropSizes,
        'BaseUrl': value.baseUrl,
        'LogoSizes': value.logoSizes,
        'PosterSizes': value.posterSizes,
        'ProfileSizes': value.profileSizes,
        'SecureBaseUrl': value.secureBaseUrl,
        'StillSizes': value.stillSizes,
    };
}

