/* 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.
 */

import { mapValues } from '../runtime';
/**
 * Request body for the wallet scan endpoint.
 * @export
 * @interface AppDomainWalletModelsScanRequest
 */
export interface AppDomainWalletModelsScanRequest {
    /**
     * 
     * @type {string}
     * @memberof AppDomainWalletModelsScanRequest
     */
    address: string;
    /**
     * 
     * @type {string}
     * @memberof AppDomainWalletModelsScanRequest
     */
    chain?: string;
    /**
     * free | pro | elite | internal
     * @type {string}
     * @memberof AppDomainWalletModelsScanRequest
     */
    tier?: string;
}

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

export function AppDomainWalletModelsScanRequestFromJSON(json: any): AppDomainWalletModelsScanRequest {
    return AppDomainWalletModelsScanRequestFromJSONTyped(json, false);
}

export function AppDomainWalletModelsScanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppDomainWalletModelsScanRequest {
    if (json == null) {
        return json;
    }
    return {
        
        'address': json['address'],
        'chain': json['chain'] == null ? undefined : json['chain'],
        'tier': json['tier'] == null ? undefined : json['tier'],
    };
}

export function AppDomainWalletModelsScanRequestToJSON(json: any): AppDomainWalletModelsScanRequest {
    return AppDomainWalletModelsScanRequestToJSONTyped(json, false);
}

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

    return {
        
        'address': value['address'],
        'chain': value['chain'],
        'tier': value['tier'],
    };
}

