UNPKG

flowus-api-sdk

Version:

Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks

63 lines (62 loc) 1.85 kB
"use strict"; /* tslint:disable */ /* eslint-disable */ /** * FlowUs API * FlowUs Developer API * * 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. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.IconExternalTypeEnum = void 0; exports.instanceOfIconExternal = instanceOfIconExternal; exports.IconExternalFromJSON = IconExternalFromJSON; exports.IconExternalFromJSONTyped = IconExternalFromJSONTyped; exports.IconExternalToJSON = IconExternalToJSON; exports.IconExternalToJSONTyped = IconExternalToJSONTyped; const IconExternalDetail_1 = require("./IconExternalDetail"); /** * @export */ exports.IconExternalTypeEnum = { External: 'external' }; /** * Check if a given object implements the IconExternal interface. */ function instanceOfIconExternal(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('external' in value) || value['external'] === undefined) return false; return true; } function IconExternalFromJSON(json) { return IconExternalFromJSONTyped(json, false); } function IconExternalFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'external': (0, IconExternalDetail_1.IconExternalDetailFromJSON)(json['external']), }; } function IconExternalToJSON(json) { return IconExternalToJSONTyped(json, false); } function IconExternalToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'external': (0, IconExternalDetail_1.IconExternalDetailToJSON)(value['external']), }; }