/* 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 { ProductCompareResource } from './ProductCompareResource'; import { ProductCompareResourceFromJSON, ProductCompareResourceFromJSONTyped, ProductCompareResourceToJSON, ProductCompareResourceToJSONTyped, } from './ProductCompareResource'; /** * * @export * @interface ProductCompareResourceArrayResponse */ export interface ProductCompareResourceArrayResponse { /** * * @type {Array} * @memberof ProductCompareResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the ProductCompareResourceArrayResponse interface. */ export function instanceOfProductCompareResourceArrayResponse(value: object): value is ProductCompareResourceArrayResponse { return true; } export function ProductCompareResourceArrayResponseFromJSON(json: any): ProductCompareResourceArrayResponse { return ProductCompareResourceArrayResponseFromJSONTyped(json, false); } export function ProductCompareResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductCompareResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(ProductCompareResourceFromJSON)), }; } export function ProductCompareResourceArrayResponseToJSON(json: any): ProductCompareResourceArrayResponse { return ProductCompareResourceArrayResponseToJSONTyped(json, false); } export function ProductCompareResourceArrayResponseToJSONTyped(value?: ProductCompareResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(ProductCompareResourceToJSON)), }; }