/* 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'; import type { LinkResultAllOfValue } from './LinkResultAllOfValue'; import { LinkResultAllOfValueFromJSON, LinkResultAllOfValueFromJSONTyped, LinkResultAllOfValueToJSON, } from './LinkResultAllOfValue'; /** * * @export * @interface LinkResult */ export interface LinkResult extends BaseResult { /** * * @type {Array} * @memberof LinkResult */ value?: Array | null; } /** * Check if a given object implements the LinkResult interface. */ export function instanceOfLinkResult(value: object): value is LinkResult { return true; } export function LinkResultFromJSON(json: any): LinkResult { return LinkResultFromJSONTyped(json, false); } export function LinkResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkResult { if (json == null) { return json; } return { ...BaseResultFromJSONTyped(json, ignoreDiscriminator), 'value': json['value'] == null ? undefined : ((json['value'] as Array).map(LinkResultAllOfValueFromJSON)), }; } export function LinkResultToJSON(value?: Omit | null): any { if (value == null) { return value; } return { ...BaseResultToJSON(value), 'value': value['value'] == null ? undefined : ((value['value'] as Array).map(LinkResultAllOfValueToJSON)), }; }