/* tslint:disable */
/* eslint-disable */
/**
 * RMI Backend
 * Rug Munch Intelligence — institutional-grade crypto intelligence API. 13+ chains, 96 data providers, 8 MCP tools, x402 paid tier, sovereign-first FOSS.
 *
 * The version of the OpenAPI document: 2026.06.21
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */


/**
 * Token risk classification.
 * @export
 */
export const AppDomainTokenModelsRiskLevel = {
    Low: 'low',
    Medium: 'medium',
    High: 'high',
    Critical: 'critical'
} as const;
export type AppDomainTokenModelsRiskLevel = typeof AppDomainTokenModelsRiskLevel[keyof typeof AppDomainTokenModelsRiskLevel];


export function instanceOfAppDomainTokenModelsRiskLevel(value: any): boolean {
    for (const key in AppDomainTokenModelsRiskLevel) {
        if (Object.prototype.hasOwnProperty.call(AppDomainTokenModelsRiskLevel, key)) {
            if (AppDomainTokenModelsRiskLevel[key as keyof typeof AppDomainTokenModelsRiskLevel] === value) {
                return true;
            }
        }
    }
    return false;
}

export function AppDomainTokenModelsRiskLevelFromJSON(json: any): AppDomainTokenModelsRiskLevel {
    return AppDomainTokenModelsRiskLevelFromJSONTyped(json, false);
}

export function AppDomainTokenModelsRiskLevelFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppDomainTokenModelsRiskLevel {
    return json as AppDomainTokenModelsRiskLevel;
}

export function AppDomainTokenModelsRiskLevelToJSON(value?: AppDomainTokenModelsRiskLevel | null): any {
    return value as any;
}

export function AppDomainTokenModelsRiskLevelToJSONTyped(value: any, ignoreDiscriminator: boolean): AppDomainTokenModelsRiskLevel {
    return value as AppDomainTokenModelsRiskLevel;
}

