/* 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 { ProductLiteResource } from './ProductLiteResource'; import { ProductLiteResourceFromJSON, ProductLiteResourceFromJSONTyped, ProductLiteResourceToJSON, ProductLiteResourceToJSONTyped, } from './ProductLiteResource'; /** * * @export * @interface ProductLiteResourceArrayResponse */ export interface ProductLiteResourceArrayResponse { /** * * @type {Array} * @memberof ProductLiteResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the ProductLiteResourceArrayResponse interface. */ export function instanceOfProductLiteResourceArrayResponse(value: object): value is ProductLiteResourceArrayResponse { return true; } export function ProductLiteResourceArrayResponseFromJSON(json: any): ProductLiteResourceArrayResponse { return ProductLiteResourceArrayResponseFromJSONTyped(json, false); } export function ProductLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLiteResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(ProductLiteResourceFromJSON)), }; } export function ProductLiteResourceArrayResponseToJSON(json: any): ProductLiteResourceArrayResponse { return ProductLiteResourceArrayResponseToJSONTyped(json, false); } export function ProductLiteResourceArrayResponseToJSONTyped(value?: ProductLiteResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(ProductLiteResourceToJSON)), }; }