/* tslint:disable */ /* eslint-disable */ /** * Fabric API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * 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 { StoreListingPluginCategory } from './StoreListingPluginCategory'; import { StoreListingPluginCategoryFromJSON, StoreListingPluginCategoryFromJSONTyped, StoreListingPluginCategoryToJSON, StoreListingPluginCategoryToJSONTyped, } from './StoreListingPluginCategory'; /** * * @export * @interface StoreListingPluginData */ export interface StoreListingPluginData { /** * * @type {Array} * @memberof StoreListingPluginData */ 'category'?: Array; } /** * Check if a given object implements the StoreListingPluginData interface. */ export function instanceOfStoreListingPluginData(value: object): value is StoreListingPluginData { return true; } export function StoreListingPluginDataFromJSON(json: any): StoreListingPluginData { return StoreListingPluginDataFromJSONTyped(json, false); } export function StoreListingPluginDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreListingPluginData { if (json == null) { return json; } const result = { } as StoreListingPluginData; if (json['category'] !== undefined) { result['category'] = (json['category'] as Array).map(StoreListingPluginCategoryFromJSON); } return result; } export function StoreListingPluginDataToJSON(json: any): StoreListingPluginData { return StoreListingPluginDataToJSONTyped(json, false); } export function StoreListingPluginDataToJSONTyped(value?: StoreListingPluginData | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'category': value['category'] == null ? undefined : ((value['category'] as Array).map(StoreListingPluginCategoryToJSON)), }; }