/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.2.3-rc1 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { mapValues } from '../runtime'; /** * Themed URLs - maps theme names to URLs for light and dark themes * @export * @interface ThemedUrls */ export interface ThemedUrls { /** * * @type {string} * @memberof ThemedUrls */ light?: string | null; /** * * @type {string} * @memberof ThemedUrls */ dark?: string | null; } /** * Check if a given object implements the ThemedUrls interface. */ export function instanceOfThemedUrls(value: object): value is ThemedUrls { return true; } export function ThemedUrlsFromJSON(json: any): ThemedUrls { return ThemedUrlsFromJSONTyped(json, false); } export function ThemedUrlsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThemedUrls { if (json == null) { return json; } return { 'light': json['light'] == null ? undefined : json['light'], 'dark': json['dark'] == null ? undefined : json['dark'], }; } export function ThemedUrlsToJSON(json: any): ThemedUrls { return ThemedUrlsToJSONTyped(json, false); } export function ThemedUrlsToJSONTyped(value?: ThemedUrls | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'light': value['light'], 'dark': value['dark'], }; }