/* 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'; /** * * @export * @interface CreateSmartCollection400Response */ export interface CreateSmartCollection400Response { /** * * @type {string} * @memberof CreateSmartCollection400Response */ 'error': string; } /** * Check if a given object implements the CreateSmartCollection400Response interface. */ export function instanceOfCreateSmartCollection400Response(value: object): value is CreateSmartCollection400Response { if (!('error' in value) || value['error'] === undefined) return false; return true; } export function CreateSmartCollection400ResponseFromJSON(json: any): CreateSmartCollection400Response { return CreateSmartCollection400ResponseFromJSONTyped(json, false); } export function CreateSmartCollection400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateSmartCollection400Response { if (json == null) { return json; } const result = { } as CreateSmartCollection400Response; if (json['error'] !== undefined) { result['error'] = json['error']; } return result; } export function CreateSmartCollection400ResponseToJSON(json: any): CreateSmartCollection400Response { return CreateSmartCollection400ResponseToJSONTyped(json, false); } export function CreateSmartCollection400ResponseToJSONTyped(value?: CreateSmartCollection400Response | null, ignoreDiscriminator: boolean = false): any { if (value == null) { return value; } return { 'error': value['error'], }; }