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.77 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.instanceOfPropertyValueSelectSelect = instanceOfPropertyValueSelectSelect; exports.PropertyValueSelectSelectFromJSON = PropertyValueSelectSelectFromJSON; exports.PropertyValueSelectSelectFromJSONTyped = PropertyValueSelectSelectFromJSONTyped; exports.PropertyValueSelectSelectToJSON = PropertyValueSelectSelectToJSON; exports.PropertyValueSelectSelectToJSONTyped = PropertyValueSelectSelectToJSONTyped; /** * Check if a given object implements the PropertyValueSelectSelect interface. */ function instanceOfPropertyValueSelectSelect(value) { return true; } function PropertyValueSelectSelectFromJSON(json) { return PropertyValueSelectSelectFromJSONTyped(json, false); } function PropertyValueSelectSelectFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'name': json['name'] == null ? undefined : json['name'], 'color': json['color'] == null ? undefined : json['color'], }; } function PropertyValueSelectSelectToJSON(json) { return PropertyValueSelectSelectToJSONTyped(json, false); } function PropertyValueSelectSelectToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'id': value['id'], 'name': value['name'], 'color': value['color'], }; }