/* 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 { DocumentLiteResource } from './DocumentLiteResource'; import { DocumentLiteResourceFromJSON, DocumentLiteResourceFromJSONTyped, DocumentLiteResourceToJSON, DocumentLiteResourceToJSONTyped, } from './DocumentLiteResource'; /** * * @export * @interface DocumentLiteResourceArrayResponse */ export interface DocumentLiteResourceArrayResponse { /** * * @type {Array} * @memberof DocumentLiteResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the DocumentLiteResourceArrayResponse interface. */ export function instanceOfDocumentLiteResourceArrayResponse(value: object): value is DocumentLiteResourceArrayResponse { return true; } export function DocumentLiteResourceArrayResponseFromJSON(json: any): DocumentLiteResourceArrayResponse { return DocumentLiteResourceArrayResponseFromJSONTyped(json, false); } export function DocumentLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DocumentLiteResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(DocumentLiteResourceFromJSON)), }; } export function DocumentLiteResourceArrayResponseToJSON(json: any): DocumentLiteResourceArrayResponse { return DocumentLiteResourceArrayResponseToJSONTyped(json, false); } export function DocumentLiteResourceArrayResponseToJSONTyped(value?: DocumentLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(DocumentLiteResourceToJSON)), }; }