/* 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 { StoreLocationResource } from './StoreLocationResource'; import { StoreLocationResourceFromJSON, StoreLocationResourceFromJSONTyped, StoreLocationResourceToJSON, StoreLocationResourceToJSONTyped, } from './StoreLocationResource'; /** * * @export * @interface StoreLocationResourceArrayResponse */ export interface StoreLocationResourceArrayResponse { /** * * @type {Array} * @memberof StoreLocationResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the StoreLocationResourceArrayResponse interface. */ export function instanceOfStoreLocationResourceArrayResponse(value: object): value is StoreLocationResourceArrayResponse { return true; } export function StoreLocationResourceArrayResponseFromJSON(json: any): StoreLocationResourceArrayResponse { return StoreLocationResourceArrayResponseFromJSONTyped(json, false); } export function StoreLocationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(StoreLocationResourceFromJSON)), }; } export function StoreLocationResourceArrayResponseToJSON(json: any): StoreLocationResourceArrayResponse { return StoreLocationResourceArrayResponseToJSONTyped(json, false); } export function StoreLocationResourceArrayResponseToJSONTyped(value?: StoreLocationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(StoreLocationResourceToJSON)), }; }