/* 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 { ProductRangeResource } from './ProductRangeResource'; import { ProductRangeResourceFromJSON, ProductRangeResourceFromJSONTyped, ProductRangeResourceToJSON, ProductRangeResourceToJSONTyped, } from './ProductRangeResource'; /** * * @export * @interface ProductRangeResourceArrayResponse */ export interface ProductRangeResourceArrayResponse { /** * * @type {Array} * @memberof ProductRangeResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the ProductRangeResourceArrayResponse interface. */ export function instanceOfProductRangeResourceArrayResponse(value: object): value is ProductRangeResourceArrayResponse { return true; } export function ProductRangeResourceArrayResponseFromJSON(json: any): ProductRangeResourceArrayResponse { return ProductRangeResourceArrayResponseFromJSONTyped(json, false); } export function ProductRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(ProductRangeResourceFromJSON)), }; } export function ProductRangeResourceArrayResponseToJSON(json: any): ProductRangeResourceArrayResponse { return ProductRangeResourceArrayResponseToJSONTyped(json, false); } export function ProductRangeResourceArrayResponseToJSONTyped(value?: ProductRangeResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(ProductRangeResourceToJSON)), }; }