UNPKG

flowus-api-sdk

Version:

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

56 lines (55 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.instanceOfPropertySchemaFormula = instanceOfPropertySchemaFormula; exports.PropertySchemaFormulaFromJSON = PropertySchemaFormulaFromJSON; exports.PropertySchemaFormulaFromJSONTyped = PropertySchemaFormulaFromJSONTyped; exports.PropertySchemaFormulaToJSON = PropertySchemaFormulaToJSON; exports.PropertySchemaFormulaToJSONTyped = PropertySchemaFormulaToJSONTyped; const PropertySchemaFormulaFormula_1 = require("./PropertySchemaFormulaFormula"); /** * Check if a given object implements the PropertySchemaFormula interface. */ function instanceOfPropertySchemaFormula(value) { return true; } function PropertySchemaFormulaFromJSON(json) { return PropertySchemaFormulaFromJSONTyped(json, false); } function PropertySchemaFormulaFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'name': json['name'] == null ? undefined : json['name'], 'type': json['type'] == null ? undefined : json['type'], 'formula': json['formula'] == null ? undefined : (0, PropertySchemaFormulaFormula_1.PropertySchemaFormulaFormulaFromJSON)(json['formula']), }; } function PropertySchemaFormulaToJSON(json) { return PropertySchemaFormulaToJSONTyped(json, false); } function PropertySchemaFormulaToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'id': value['id'], 'name': value['name'], 'type': value['type'], 'formula': (0, PropertySchemaFormulaFormula_1.PropertySchemaFormulaFormulaToJSON)(value['formula']), }; }