UNPKG

flowus-api-sdk

Version:

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

53 lines (52 loc) 1.93 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.instanceOfPropertySchemaRelationRelation = instanceOfPropertySchemaRelationRelation; exports.PropertySchemaRelationRelationFromJSON = PropertySchemaRelationRelationFromJSON; exports.PropertySchemaRelationRelationFromJSONTyped = PropertySchemaRelationRelationFromJSONTyped; exports.PropertySchemaRelationRelationToJSON = PropertySchemaRelationRelationToJSON; exports.PropertySchemaRelationRelationToJSONTyped = PropertySchemaRelationRelationToJSONTyped; /** * Check if a given object implements the PropertySchemaRelationRelation interface. */ function instanceOfPropertySchemaRelationRelation(value) { if (!('database_id' in value) || value['database_id'] === undefined) return false; return true; } function PropertySchemaRelationRelationFromJSON(json) { return PropertySchemaRelationRelationFromJSONTyped(json, false); } function PropertySchemaRelationRelationFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'database_id': json['database_id'], 'synced_property_id': json['synced_property_id'] == null ? undefined : json['synced_property_id'], }; } function PropertySchemaRelationRelationToJSON(json) { return PropertySchemaRelationRelationToJSONTyped(json, false); } function PropertySchemaRelationRelationToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'database_id': value['database_id'], 'synced_property_id': value['synced_property_id'], }; }