/* 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'; /** * * @export * @interface WishlistCheckResource */ export interface WishlistCheckResource { /** * * @type {boolean} * @memberof WishlistCheckResource */ inWishlist: boolean; } /** * Check if a given object implements the WishlistCheckResource interface. */ export function instanceOfWishlistCheckResource(value: object): value is WishlistCheckResource { if (!('inWishlist' in value) || value['inWishlist'] === undefined) return false; return true; } export function WishlistCheckResourceFromJSON(json: any): WishlistCheckResource { return WishlistCheckResourceFromJSONTyped(json, false); } export function WishlistCheckResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): WishlistCheckResource { if (json == null) { return json; } return { 'inWishlist': json['inWishlist'], }; } export function WishlistCheckResourceToJSON(json: any): WishlistCheckResource { return WishlistCheckResourceToJSONTyped(json, false); } export function WishlistCheckResourceToJSONTyped(value?: WishlistCheckResource | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'inWishlist': value['inWishlist'], }; }