/* 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 { AppliedCouponResource } from './AppliedCouponResource'; import { AppliedCouponResourceFromJSON, AppliedCouponResourceFromJSONTyped, AppliedCouponResourceToJSON, AppliedCouponResourceToJSONTyped, } from './AppliedCouponResource'; /** * * @export * @interface AppliedCouponResourceArrayResponse */ export interface AppliedCouponResourceArrayResponse { /** * * @type {Array} * @memberof AppliedCouponResourceArrayResponse */ data?: Array; } /** * Check if a given object implements the AppliedCouponResourceArrayResponse interface. */ export function instanceOfAppliedCouponResourceArrayResponse(value: object): value is AppliedCouponResourceArrayResponse { return true; } export function AppliedCouponResourceArrayResponseFromJSON(json: any): AppliedCouponResourceArrayResponse { return AppliedCouponResourceArrayResponseFromJSONTyped(json, false); } export function AppliedCouponResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AppliedCouponResourceArrayResponse { if (json == null) { return json; } return { 'data': json['data'] == null ? undefined : ((json['data'] as Array).map(AppliedCouponResourceFromJSON)), }; } export function AppliedCouponResourceArrayResponseToJSON(json: any): AppliedCouponResourceArrayResponse { return AppliedCouponResourceArrayResponseToJSONTyped(json, false); } export function AppliedCouponResourceArrayResponseToJSONTyped(value?: AppliedCouponResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'data': value['data'] == null ? undefined : ((value['data'] as Array).map(AppliedCouponResourceToJSON)), }; }