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.91 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.instanceOfCreatePagePropertyValueCheckbox = instanceOfCreatePagePropertyValueCheckbox; exports.CreatePagePropertyValueCheckboxFromJSON = CreatePagePropertyValueCheckboxFromJSON; exports.CreatePagePropertyValueCheckboxFromJSONTyped = CreatePagePropertyValueCheckboxFromJSONTyped; exports.CreatePagePropertyValueCheckboxToJSON = CreatePagePropertyValueCheckboxToJSON; exports.CreatePagePropertyValueCheckboxToJSONTyped = CreatePagePropertyValueCheckboxToJSONTyped; /** * Check if a given object implements the CreatePagePropertyValueCheckbox interface. */ function instanceOfCreatePagePropertyValueCheckbox(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('checkbox' in value) || value['checkbox'] === undefined) return false; return true; } function CreatePagePropertyValueCheckboxFromJSON(json) { return CreatePagePropertyValueCheckboxFromJSONTyped(json, false); } function CreatePagePropertyValueCheckboxFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'checkbox': json['checkbox'], }; } function CreatePagePropertyValueCheckboxToJSON(json) { return CreatePagePropertyValueCheckboxToJSONTyped(json, false); } function CreatePagePropertyValueCheckboxToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'checkbox': value['checkbox'], }; }