UNPKG

flowus-api-sdk

Version:

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

55 lines (54 loc) 1.96 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.instanceOfCreatePagePropertyValueDateDate = instanceOfCreatePagePropertyValueDateDate; exports.CreatePagePropertyValueDateDateFromJSON = CreatePagePropertyValueDateDateFromJSON; exports.CreatePagePropertyValueDateDateFromJSONTyped = CreatePagePropertyValueDateDateFromJSONTyped; exports.CreatePagePropertyValueDateDateToJSON = CreatePagePropertyValueDateDateToJSON; exports.CreatePagePropertyValueDateDateToJSONTyped = CreatePagePropertyValueDateDateToJSONTyped; /** * Check if a given object implements the CreatePagePropertyValueDateDate interface. */ function instanceOfCreatePagePropertyValueDateDate(value) { if (!('start' in value) || value['start'] === undefined) return false; return true; } function CreatePagePropertyValueDateDateFromJSON(json) { return CreatePagePropertyValueDateDateFromJSONTyped(json, false); } function CreatePagePropertyValueDateDateFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'start': json['start'], 'end': json['end'] == null ? undefined : json['end'], 'time_zone': json['time_zone'] == null ? undefined : json['time_zone'], }; } function CreatePagePropertyValueDateDateToJSON(json) { return CreatePagePropertyValueDateDateToJSONTyped(json, false); } function CreatePagePropertyValueDateDateToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'start': value['start'], 'end': value['end'], 'time_zone': value['time_zone'], }; }