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) 2.04 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.CreatePageResponseParentOneOf1TypeEnum = void 0; exports.instanceOfCreatePageResponseParentOneOf1 = instanceOfCreatePageResponseParentOneOf1; exports.CreatePageResponseParentOneOf1FromJSON = CreatePageResponseParentOneOf1FromJSON; exports.CreatePageResponseParentOneOf1FromJSONTyped = CreatePageResponseParentOneOf1FromJSONTyped; exports.CreatePageResponseParentOneOf1ToJSON = CreatePageResponseParentOneOf1ToJSON; exports.CreatePageResponseParentOneOf1ToJSONTyped = CreatePageResponseParentOneOf1ToJSONTyped; /** * @export */ exports.CreatePageResponseParentOneOf1TypeEnum = { PageId: 'page_id' }; /** * Check if a given object implements the CreatePageResponseParentOneOf1 interface. */ function instanceOfCreatePageResponseParentOneOf1(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('page_id' in value) || value['page_id'] === undefined) return false; return true; } function CreatePageResponseParentOneOf1FromJSON(json) { return CreatePageResponseParentOneOf1FromJSONTyped(json, false); } function CreatePageResponseParentOneOf1FromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'page_id': json['page_id'], }; } function CreatePageResponseParentOneOf1ToJSON(json) { return CreatePageResponseParentOneOf1ToJSONTyped(json, false); } function CreatePageResponseParentOneOf1ToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'page_id': value['page_id'], }; }