UNPKG

flowus-api-sdk

Version:

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

62 lines (61 loc) 1.7 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.ParentSpaceIdTypeEnum = void 0; exports.instanceOfParentSpaceId = instanceOfParentSpaceId; exports.ParentSpaceIdFromJSON = ParentSpaceIdFromJSON; exports.ParentSpaceIdFromJSONTyped = ParentSpaceIdFromJSONTyped; exports.ParentSpaceIdToJSON = ParentSpaceIdToJSON; exports.ParentSpaceIdToJSONTyped = ParentSpaceIdToJSONTyped; /** * @export */ exports.ParentSpaceIdTypeEnum = { SpaceId: 'space_id' }; /** * Check if a given object implements the ParentSpaceId interface. */ function instanceOfParentSpaceId(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('space_id' in value) || value['space_id'] === undefined) return false; return true; } function ParentSpaceIdFromJSON(json) { return ParentSpaceIdFromJSONTyped(json, false); } function ParentSpaceIdFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'space_id': json['space_id'], }; } function ParentSpaceIdToJSON(json) { return ParentSpaceIdToJSONTyped(json, false); } function ParentSpaceIdToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'space_id': value['space_id'], }; }