UNPKG

flowus-api-sdk

Version:

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

58 lines (57 loc) 2.34 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.CreatePageResponseParentFromJSON = CreatePageResponseParentFromJSON; exports.CreatePageResponseParentFromJSONTyped = CreatePageResponseParentFromJSONTyped; exports.CreatePageResponseParentToJSON = CreatePageResponseParentToJSON; exports.CreatePageResponseParentToJSONTyped = CreatePageResponseParentToJSONTyped; const CreatePageResponseParentOneOf_1 = require("./CreatePageResponseParentOneOf"); const CreatePageResponseParentOneOf1_1 = require("./CreatePageResponseParentOneOf1"); function CreatePageResponseParentFromJSON(json) { return CreatePageResponseParentFromJSONTyped(json, false); } function CreatePageResponseParentFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } if (typeof json !== 'object') { return json; } if ((0, CreatePageResponseParentOneOf_1.instanceOfCreatePageResponseParentOneOf)(json)) { return (0, CreatePageResponseParentOneOf_1.CreatePageResponseParentOneOfFromJSONTyped)(json, true); } if ((0, CreatePageResponseParentOneOf1_1.instanceOfCreatePageResponseParentOneOf1)(json)) { return (0, CreatePageResponseParentOneOf1_1.CreatePageResponseParentOneOf1FromJSONTyped)(json, true); } return {}; } function CreatePageResponseParentToJSON(json) { return CreatePageResponseParentToJSONTyped(json, false); } function CreatePageResponseParentToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } if (typeof value !== 'object') { return value; } if ((0, CreatePageResponseParentOneOf_1.instanceOfCreatePageResponseParentOneOf)(value)) { return (0, CreatePageResponseParentOneOf_1.CreatePageResponseParentOneOfToJSON)(value); } if ((0, CreatePageResponseParentOneOf1_1.instanceOfCreatePageResponseParentOneOf1)(value)) { return (0, CreatePageResponseParentOneOf1_1.CreatePageResponseParentOneOf1ToJSON)(value); } return {}; }