/* 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 { GoogleCategoryResource } from './GoogleCategoryResource'; import { GoogleCategoryResourceFromJSON, GoogleCategoryResourceFromJSONTyped, GoogleCategoryResourceToJSON, GoogleCategoryResourceToJSONTyped, } from './GoogleCategoryResource'; /** * * @export * @interface GoogleCategoryResourceArrayResponse */ export interface GoogleCategoryResourceArrayResponse { /** * * @type {Array} * @memberof GoogleCategoryResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the GoogleCategoryResourceArrayResponse interface. */ export function instanceOfGoogleCategoryResourceArrayResponse(value: object): value is GoogleCategoryResourceArrayResponse { return true; } export function GoogleCategoryResourceArrayResponseFromJSON(json: any): GoogleCategoryResourceArrayResponse { return GoogleCategoryResourceArrayResponseFromJSONTyped(json, false); } export function GoogleCategoryResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleCategoryResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(GoogleCategoryResourceFromJSON)), }; } export function GoogleCategoryResourceArrayResponseToJSON(json: any): GoogleCategoryResourceArrayResponse { return GoogleCategoryResourceArrayResponseToJSONTyped(json, false); } export function GoogleCategoryResourceArrayResponseToJSONTyped(value?: GoogleCategoryResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(GoogleCategoryResourceToJSON)), }; }