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.79 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.ParentDatabaseIdTypeEnum = void 0; exports.instanceOfParentDatabaseId = instanceOfParentDatabaseId; exports.ParentDatabaseIdFromJSON = ParentDatabaseIdFromJSON; exports.ParentDatabaseIdFromJSONTyped = ParentDatabaseIdFromJSONTyped; exports.ParentDatabaseIdToJSON = ParentDatabaseIdToJSON; exports.ParentDatabaseIdToJSONTyped = ParentDatabaseIdToJSONTyped; /** * @export */ exports.ParentDatabaseIdTypeEnum = { DatabaseId: 'database_id' }; /** * Check if a given object implements the ParentDatabaseId interface. */ function instanceOfParentDatabaseId(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('database_id' in value) || value['database_id'] === undefined) return false; return true; } function ParentDatabaseIdFromJSON(json) { return ParentDatabaseIdFromJSONTyped(json, false); } function ParentDatabaseIdFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'database_id': json['database_id'], }; } function ParentDatabaseIdToJSON(json) { return ParentDatabaseIdToJSONTyped(json, false); } function ParentDatabaseIdToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'database_id': value['database_id'], }; }