/* tslint:disable */
/* eslint-disable */
/**
 * UCX Proxy
 * A single use API for the UCX Proxy.
 *
 * The version of the OpenAPI document: 0.0.12
 * Contact: customersuccess@equisoft.com
 *
 * 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 SymbolsSchema
 */
export interface SymbolsSchema {
    /**
     * 
     * @type {string}
     * @memberof SymbolsSchema
     */
    ticker?: string | null;
    /**
     * 
     * @type {string}
     * @memberof SymbolsSchema
     */
    fundServCode?: string | null;
    /**
     * 
     * @type {string}
     * @memberof SymbolsSchema
     */
    cusip?: string | null;
    /**
     * 
     * @type {string}
     * @memberof SymbolsSchema
     */
    isin?: string | null;
}

/**
 * Check if a given object implements the SymbolsSchema interface.
 */
export function instanceOfSymbolsSchema(value: object): value is SymbolsSchema {
    return true;
}

export function SymbolsSchemaFromJSON(json: any): SymbolsSchema {
    return SymbolsSchemaFromJSONTyped(json, false);
}

export function SymbolsSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): SymbolsSchema {
    if (json == null) {
        return json;
    }
    return {
        
        'ticker': json['ticker'] == null ? undefined : json['ticker'],
        'fundServCode': json['fundServCode'] == null ? undefined : json['fundServCode'],
        'cusip': json['cusip'] == null ? undefined : json['cusip'],
        'isin': json['isin'] == null ? undefined : json['isin'],
    };
}

export function SymbolsSchemaToJSON(json: any): SymbolsSchema {
    return SymbolsSchemaToJSONTyped(json, false);
}

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

    return {
        
        'ticker': value['ticker'],
        'fundServCode': value['fundServCode'],
        'cusip': value['cusip'],
        'isin': value['isin'],
    };
}

