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) 2.14 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.instanceOfPropertyValueMultiSelect = instanceOfPropertyValueMultiSelect; exports.PropertyValueMultiSelectFromJSON = PropertyValueMultiSelectFromJSON; exports.PropertyValueMultiSelectFromJSONTyped = PropertyValueMultiSelectFromJSONTyped; exports.PropertyValueMultiSelectToJSON = PropertyValueMultiSelectToJSON; exports.PropertyValueMultiSelectToJSONTyped = PropertyValueMultiSelectToJSONTyped; const PropertyValueMultiSelectMultiSelectInner_1 = require("./PropertyValueMultiSelectMultiSelectInner"); /** * Check if a given object implements the PropertyValueMultiSelect interface. */ function instanceOfPropertyValueMultiSelect(value) { return true; } function PropertyValueMultiSelectFromJSON(json) { return PropertyValueMultiSelectFromJSONTyped(json, false); } function PropertyValueMultiSelectFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'type': json['type'] == null ? undefined : json['type'], 'multi_select': json['multi_select'] == null ? undefined : (json['multi_select'].map(PropertyValueMultiSelectMultiSelectInner_1.PropertyValueMultiSelectMultiSelectInnerFromJSON)), }; } function PropertyValueMultiSelectToJSON(json) { return PropertyValueMultiSelectToJSONTyped(json, false); } function PropertyValueMultiSelectToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'id': value['id'], 'type': value['type'], 'multi_select': value['multi_select'] == null ? undefined : (value['multi_select'].map(PropertyValueMultiSelectMultiSelectInner_1.PropertyValueMultiSelectMultiSelectInnerToJSON)), }; }