flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
59 lines (58 loc) • 2.16 kB
JavaScript
;
/* 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.V1SearchPageResultPropertiesTitleTypeEnum = void 0;
exports.instanceOfV1SearchPageResultPropertiesTitle = instanceOfV1SearchPageResultPropertiesTitle;
exports.V1SearchPageResultPropertiesTitleFromJSON = V1SearchPageResultPropertiesTitleFromJSON;
exports.V1SearchPageResultPropertiesTitleFromJSONTyped = V1SearchPageResultPropertiesTitleFromJSONTyped;
exports.V1SearchPageResultPropertiesTitleToJSON = V1SearchPageResultPropertiesTitleToJSON;
exports.V1SearchPageResultPropertiesTitleToJSONTyped = V1SearchPageResultPropertiesTitleToJSONTyped;
const RichTextItem_1 = require("./RichTextItem");
/**
* @export
*/
exports.V1SearchPageResultPropertiesTitleTypeEnum = {
Title: 'title'
};
/**
* Check if a given object implements the V1SearchPageResultPropertiesTitle interface.
*/
function instanceOfV1SearchPageResultPropertiesTitle(value) {
return true;
}
function V1SearchPageResultPropertiesTitleFromJSON(json) {
return V1SearchPageResultPropertiesTitleFromJSONTyped(json, false);
}
function V1SearchPageResultPropertiesTitleFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'type': json['type'] == null ? undefined : json['type'],
'title': json['title'] == null ? undefined : (json['title'].map(RichTextItem_1.RichTextItemFromJSON)),
};
}
function V1SearchPageResultPropertiesTitleToJSON(json) {
return V1SearchPageResultPropertiesTitleToJSONTyped(json, false);
}
function V1SearchPageResultPropertiesTitleToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'type': value['type'],
'title': value['title'] == null ? undefined : (value['title'].map(RichTextItem_1.RichTextItemToJSON)),
};
}