/* tslint:disable */ /* eslint-disable */ /** * EAS API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 1.0.0 * * * 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'; import type { BaseResult } from './BaseResult'; import { BaseResultFromJSON, BaseResultFromJSONTyped, BaseResultToJSON, } from './BaseResult'; /** * * @export * @interface CoinResult */ export interface CoinResult extends BaseResult { /** * * @type {Array} * @memberof CoinResult */ value?: Array | null; } /** * @export */ export const CoinResultValueEnum = { Head: 'HEAD', Tail: 'TAIL' } as const; export type CoinResultValueEnum = typeof CoinResultValueEnum[keyof typeof CoinResultValueEnum]; /** * Check if a given object implements the CoinResult interface. */ export function instanceOfCoinResult(value: object): value is CoinResult { return true; } export function CoinResultFromJSON(json: any): CoinResult { return CoinResultFromJSONTyped(json, false); } export function CoinResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): CoinResult { if (json == null) { return json; } return { ...BaseResultFromJSONTyped(json, ignoreDiscriminator), 'value': json['value'] == null ? undefined : json['value'], }; } export function CoinResultToJSON(value?: Omit | null): any { if (value == null) { return value; } return { ...BaseResultToJSON(value), 'value': value['value'], }; }