UNPKG

flowus-api-sdk

Version:

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

52 lines (51 loc) 1.97 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.instanceOfAppendBlockChildrenRequest = instanceOfAppendBlockChildrenRequest; exports.AppendBlockChildrenRequestFromJSON = AppendBlockChildrenRequestFromJSON; exports.AppendBlockChildrenRequestFromJSONTyped = AppendBlockChildrenRequestFromJSONTyped; exports.AppendBlockChildrenRequestToJSON = AppendBlockChildrenRequestToJSON; exports.AppendBlockChildrenRequestToJSONTyped = AppendBlockChildrenRequestToJSONTyped; const AppendBlockChildrenRequestChildrenInner_1 = require("./AppendBlockChildrenRequestChildrenInner"); /** * Check if a given object implements the AppendBlockChildrenRequest interface. */ function instanceOfAppendBlockChildrenRequest(value) { if (!('children' in value) || value['children'] === undefined) return false; return true; } function AppendBlockChildrenRequestFromJSON(json) { return AppendBlockChildrenRequestFromJSONTyped(json, false); } function AppendBlockChildrenRequestFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'children': (json['children'].map(AppendBlockChildrenRequestChildrenInner_1.AppendBlockChildrenRequestChildrenInnerFromJSON)), }; } function AppendBlockChildrenRequestToJSON(json) { return AppendBlockChildrenRequestToJSONTyped(json, false); } function AppendBlockChildrenRequestToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'children': (value['children'].map(AppendBlockChildrenRequestChildrenInner_1.AppendBlockChildrenRequestChildrenInnerToJSON)), }; }