/* tslint:disable */ /* eslint-disable */ /** * My API * API documentation for my Laravel app * * 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 { StoreResource } from './StoreResource'; import { StoreResourceFromJSON, StoreResourceFromJSONTyped, StoreResourceToJSON, StoreResourceToJSONTyped, } from './StoreResource'; /** * * @export * @interface StoreResourceArrayResponse */ export interface StoreResourceArrayResponse { /** * * @type {Array} * @memberof StoreResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the StoreResourceArrayResponse interface. */ export function instanceOfStoreResourceArrayResponse(value: object): value is StoreResourceArrayResponse { return true; } export function StoreResourceArrayResponseFromJSON(json: any): StoreResourceArrayResponse { return StoreResourceArrayResponseFromJSONTyped(json, false); } export function StoreResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(StoreResourceFromJSON)), }; } export function StoreResourceArrayResponseToJSON(json: any): StoreResourceArrayResponse { return StoreResourceArrayResponseToJSONTyped(json, false); } export function StoreResourceArrayResponseToJSONTyped(value?: StoreResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(StoreResourceToJSON)), }; }