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.68 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.ParentPageIdTypeEnum = void 0; exports.instanceOfParentPageId = instanceOfParentPageId; exports.ParentPageIdFromJSON = ParentPageIdFromJSON; exports.ParentPageIdFromJSONTyped = ParentPageIdFromJSONTyped; exports.ParentPageIdToJSON = ParentPageIdToJSON; exports.ParentPageIdToJSONTyped = ParentPageIdToJSONTyped; /** * @export */ exports.ParentPageIdTypeEnum = { PageId: 'page_id' }; /** * Check if a given object implements the ParentPageId interface. */ function instanceOfParentPageId(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('page_id' in value) || value['page_id'] === undefined) return false; return true; } function ParentPageIdFromJSON(json) { return ParentPageIdFromJSONTyped(json, false); } function ParentPageIdFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'page_id': json['page_id'], }; } function ParentPageIdToJSON(json) { return ParentPageIdToJSONTyped(json, false); } function ParentPageIdToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'page_id': value['page_id'], }; }