/* 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 { RedirectListResource } from './RedirectListResource'; import { RedirectListResourceFromJSON, RedirectListResourceFromJSONTyped, RedirectListResourceToJSON, RedirectListResourceToJSONTyped, } from './RedirectListResource'; /** * * @export * @interface RedirectListResourceArrayResponse */ export interface RedirectListResourceArrayResponse { /** * * @type {Array} * @memberof RedirectListResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the RedirectListResourceArrayResponse interface. */ export function instanceOfRedirectListResourceArrayResponse(value: object): value is RedirectListResourceArrayResponse { return true; } export function RedirectListResourceArrayResponseFromJSON(json: any): RedirectListResourceArrayResponse { return RedirectListResourceArrayResponseFromJSONTyped(json, false); } export function RedirectListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedirectListResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(RedirectListResourceFromJSON)), }; } export function RedirectListResourceArrayResponseToJSON(json: any): RedirectListResourceArrayResponse { return RedirectListResourceArrayResponseToJSONTyped(json, false); } export function RedirectListResourceArrayResponseToJSONTyped(value?: RedirectListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(RedirectListResourceToJSON)), }; }