UNPKG

flowus-api-sdk

Version:

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

54 lines (53 loc) 1.88 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.instanceOfPropertyValueSelect = instanceOfPropertyValueSelect; exports.PropertyValueSelectFromJSON = PropertyValueSelectFromJSON; exports.PropertyValueSelectFromJSONTyped = PropertyValueSelectFromJSONTyped; exports.PropertyValueSelectToJSON = PropertyValueSelectToJSON; exports.PropertyValueSelectToJSONTyped = PropertyValueSelectToJSONTyped; const PropertyValueSelectSelect_1 = require("./PropertyValueSelectSelect"); /** * Check if a given object implements the PropertyValueSelect interface. */ function instanceOfPropertyValueSelect(value) { return true; } function PropertyValueSelectFromJSON(json) { return PropertyValueSelectFromJSONTyped(json, false); } function PropertyValueSelectFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'type': json['type'] == null ? undefined : json['type'], 'select': json['select'] == null ? undefined : (0, PropertyValueSelectSelect_1.PropertyValueSelectSelectFromJSON)(json['select']), }; } function PropertyValueSelectToJSON(json) { return PropertyValueSelectToJSONTyped(json, false); } function PropertyValueSelectToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'id': value['id'], 'type': value['type'], 'select': (0, PropertyValueSelectSelect_1.PropertyValueSelectSelectToJSON)(value['select']), }; }