/* 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 { TransactionResource } from './TransactionResource'; import { TransactionResourceFromJSON, TransactionResourceFromJSONTyped, TransactionResourceToJSON, TransactionResourceToJSONTyped, } from './TransactionResource'; /** * * @export * @interface TransactionResourceArrayResponse */ export interface TransactionResourceArrayResponse { /** * * @type {Array} * @memberof TransactionResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the TransactionResourceArrayResponse interface. */ export function instanceOfTransactionResourceArrayResponse(value: object): value is TransactionResourceArrayResponse { return true; } export function TransactionResourceArrayResponseFromJSON(json: any): TransactionResourceArrayResponse { return TransactionResourceArrayResponseFromJSONTyped(json, false); } export function TransactionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(TransactionResourceFromJSON)), }; } export function TransactionResourceArrayResponseToJSON(json: any): TransactionResourceArrayResponse { return TransactionResourceArrayResponseToJSONTyped(json, false); } export function TransactionResourceArrayResponseToJSONTyped(value?: TransactionResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(TransactionResourceToJSON)), }; }