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.79 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.instanceOfCreatePagePropertyValueUrl = instanceOfCreatePagePropertyValueUrl; exports.CreatePagePropertyValueUrlFromJSON = CreatePagePropertyValueUrlFromJSON; exports.CreatePagePropertyValueUrlFromJSONTyped = CreatePagePropertyValueUrlFromJSONTyped; exports.CreatePagePropertyValueUrlToJSON = CreatePagePropertyValueUrlToJSON; exports.CreatePagePropertyValueUrlToJSONTyped = CreatePagePropertyValueUrlToJSONTyped; /** * Check if a given object implements the CreatePagePropertyValueUrl interface. */ function instanceOfCreatePagePropertyValueUrl(value) { if (!('type' in value) || value['type'] === undefined) return false; if (!('url' in value) || value['url'] === undefined) return false; return true; } function CreatePagePropertyValueUrlFromJSON(json) { return CreatePagePropertyValueUrlFromJSONTyped(json, false); } function CreatePagePropertyValueUrlFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'type': json['type'], 'url': json['url'], }; } function CreatePagePropertyValueUrlToJSON(json) { return CreatePagePropertyValueUrlToJSONTyped(json, false); } function CreatePagePropertyValueUrlToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'type': value['type'], 'url': value['url'], }; }