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.81 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.instanceOfPropertyValueDate = instanceOfPropertyValueDate; exports.PropertyValueDateFromJSON = PropertyValueDateFromJSON; exports.PropertyValueDateFromJSONTyped = PropertyValueDateFromJSONTyped; exports.PropertyValueDateToJSON = PropertyValueDateToJSON; exports.PropertyValueDateToJSONTyped = PropertyValueDateToJSONTyped; const PropertyValueDateDate_1 = require("./PropertyValueDateDate"); /** * Check if a given object implements the PropertyValueDate interface. */ function instanceOfPropertyValueDate(value) { return true; } function PropertyValueDateFromJSON(json) { return PropertyValueDateFromJSONTyped(json, false); } function PropertyValueDateFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'id': json['id'] == null ? undefined : json['id'], 'type': json['type'] == null ? undefined : json['type'], 'date': json['date'] == null ? undefined : (0, PropertyValueDateDate_1.PropertyValueDateDateFromJSON)(json['date']), }; } function PropertyValueDateToJSON(json) { return PropertyValueDateToJSONTyped(json, false); } function PropertyValueDateToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'id': value['id'], 'type': value['type'], 'date': (0, PropertyValueDateDate_1.PropertyValueDateDateToJSON)(value['date']), }; }