/* 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 { InstagramResultAllOfValue } from './InstagramResultAllOfValue'; import { InstagramResultAllOfValueFromJSON, InstagramResultAllOfValueFromJSONTyped, InstagramResultAllOfValueToJSON, } from './InstagramResultAllOfValue'; /** * * @export * @interface InstagramResult */ export interface InstagramResult extends BaseResult { /** * * @type {Array} * @memberof InstagramResult */ value?: Array | null; } /** * Check if a given object implements the InstagramResult interface. */ export function instanceOfInstagramResult(value: object): value is InstagramResult { return true; } export function InstagramResultFromJSON(json: any): InstagramResult { return InstagramResultFromJSONTyped(json, false); } export function InstagramResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): InstagramResult { if (json == null) { return json; } return { ...BaseResultFromJSONTyped(json, ignoreDiscriminator), 'value': json['value'] == null ? undefined : ((json['value'] as Array).map(InstagramResultAllOfValueFromJSON)), }; } export function InstagramResultToJSON(value?: Omit | null): any { if (value == null) { return value; } return { ...BaseResultToJSON(value), 'value': value['value'] == null ? undefined : ((value['value'] as Array).map(InstagramResultAllOfValueToJSON)), }; }