/* tslint:disable */
/* eslint-disable */
/**
 * @fastify/swagger
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: 9.6.1
 * 
 *
 * 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';
/**
 * 
 * @export
 * @interface ProviderList200ResponsePayloadListInnerColors
 */
export interface ProviderList200ResponsePayloadListInnerColors {
    /**
     * Default color for the provider
     * @type {string}
     * @memberof ProviderList200ResponsePayloadListInnerColors
     */
    normal: string;
    /**
     * Hover color for the provider
     * @type {string}
     * @memberof ProviderList200ResponsePayloadListInnerColors
     */
    hover: string;
}

/**
 * Check if a given object implements the ProviderList200ResponsePayloadListInnerColors interface.
 */
export function instanceOfProviderList200ResponsePayloadListInnerColors(value: object): value is ProviderList200ResponsePayloadListInnerColors {
    if (!('normal' in value) || value['normal'] === undefined) return false;
    if (!('hover' in value) || value['hover'] === undefined) return false;
    return true;
}

export function ProviderList200ResponsePayloadListInnerColorsFromJSON(json: any): ProviderList200ResponsePayloadListInnerColors {
    return ProviderList200ResponsePayloadListInnerColorsFromJSONTyped(json, false);
}

export function ProviderList200ResponsePayloadListInnerColorsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProviderList200ResponsePayloadListInnerColors {
    if (json == null) {
        return json;
    }
    return {
        
        'normal': json['normal'],
        'hover': json['hover'],
    };
}

export function ProviderList200ResponsePayloadListInnerColorsToJSON(json: any): ProviderList200ResponsePayloadListInnerColors {
    return ProviderList200ResponsePayloadListInnerColorsToJSONTyped(json, false);
}

export function ProviderList200ResponsePayloadListInnerColorsToJSONTyped(value?: ProviderList200ResponsePayloadListInnerColors | null, ignoreDiscriminator: boolean = false): any {
    if (value == null) {
        return value;
    }

    return {
        
        'normal': value['normal'],
        'hover': value['hover'],
    };
}

