/* 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 { PageLiteResource } from './PageLiteResource'; import { PageLiteResourceFromJSON, PageLiteResourceFromJSONTyped, PageLiteResourceToJSON, PageLiteResourceToJSONTyped, } from './PageLiteResource'; /** * * @export * @interface PageLiteResourceArrayResponse */ export interface PageLiteResourceArrayResponse { /** * * @type {Array} * @memberof PageLiteResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the PageLiteResourceArrayResponse interface. */ export function instanceOfPageLiteResourceArrayResponse(value: object): value is PageLiteResourceArrayResponse { return true; } export function PageLiteResourceArrayResponseFromJSON(json: any): PageLiteResourceArrayResponse { return PageLiteResourceArrayResponseFromJSONTyped(json, false); } export function PageLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PageLiteResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(PageLiteResourceFromJSON)), }; } export function PageLiteResourceArrayResponseToJSON(json: any): PageLiteResourceArrayResponse { return PageLiteResourceArrayResponseToJSONTyped(json, false); } export function PageLiteResourceArrayResponseToJSONTyped(value?: PageLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(PageLiteResourceToJSON)), }; }