/* 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 { TagListResource } from './TagListResource'; import { TagListResourceFromJSON, TagListResourceFromJSONTyped, TagListResourceToJSON, TagListResourceToJSONTyped, } from './TagListResource'; /** * * @export * @interface TagListResourceArrayResponse */ export interface TagListResourceArrayResponse { /** * * @type {Array} * @memberof TagListResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the TagListResourceArrayResponse interface. */ export function instanceOfTagListResourceArrayResponse(value: object): value is TagListResourceArrayResponse { return true; } export function TagListResourceArrayResponseFromJSON(json: any): TagListResourceArrayResponse { return TagListResourceArrayResponseFromJSONTyped(json, false); } export function TagListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagListResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(TagListResourceFromJSON)), }; } export function TagListResourceArrayResponseToJSON(json: any): TagListResourceArrayResponse { return TagListResourceArrayResponseToJSONTyped(json, false); } export function TagListResourceArrayResponseToJSONTyped(value?: TagListResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(TagListResourceToJSON)), }; }