/* 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 { AdminResource } from './AdminResource'; import { AdminResourceFromJSON, AdminResourceFromJSONTyped, AdminResourceToJSON, AdminResourceToJSONTyped, } from './AdminResource'; /** * * @export * @interface AdminResourceArrayResponse */ export interface AdminResourceArrayResponse { /** * * @type {Array} * @memberof AdminResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the AdminResourceArrayResponse interface. */ export function instanceOfAdminResourceArrayResponse(value: object): value is AdminResourceArrayResponse { return true; } export function AdminResourceArrayResponseFromJSON(json: any): AdminResourceArrayResponse { return AdminResourceArrayResponseFromJSONTyped(json, false); } export function AdminResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AdminResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(AdminResourceFromJSON)), }; } export function AdminResourceArrayResponseToJSON(json: any): AdminResourceArrayResponse { return AdminResourceArrayResponseToJSONTyped(json, false); } export function AdminResourceArrayResponseToJSONTyped(value?: AdminResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(AdminResourceToJSON)), }; }