/* 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 { ReviewListResource } from './ReviewListResource'; import { ReviewListResourceFromJSON, ReviewListResourceFromJSONTyped, ReviewListResourceToJSON, ReviewListResourceToJSONTyped, } from './ReviewListResource'; /** * * @export * @interface ReviewListResourceArrayResponse */ export interface ReviewListResourceArrayResponse { /** * * @type {Array} * @memberof ReviewListResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the ReviewListResourceArrayResponse interface. */ export function instanceOfReviewListResourceArrayResponse(value: object): value is ReviewListResourceArrayResponse { return true; } export function ReviewListResourceArrayResponseFromJSON(json: any): ReviewListResourceArrayResponse { return ReviewListResourceArrayResponseFromJSONTyped(json, false); } export function ReviewListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReviewListResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(ReviewListResourceFromJSON)), }; } export function ReviewListResourceArrayResponseToJSON(json: any): ReviewListResourceArrayResponse { return ReviewListResourceArrayResponseToJSONTyped(json, false); } export function ReviewListResourceArrayResponseToJSONTyped(value?: ReviewListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(ReviewListResourceToJSON)), }; }