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.82 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.instanceOfSearchResultDataInner = instanceOfSearchResultDataInner;
exports.SearchResultDataInnerFromJSON = SearchResultDataInnerFromJSON;
exports.SearchResultDataInnerFromJSONTyped = SearchResultDataInnerFromJSONTyped;
exports.SearchResultDataInnerToJSON = SearchResultDataInnerToJSON;
exports.SearchResultDataInnerToJSONTyped = SearchResultDataInnerToJSONTyped;
/**
* Check if a given object implements the SearchResultDataInner interface.
*/
function instanceOfSearchResultDataInner(value) {
return true;
}
function SearchResultDataInnerFromJSON(json) {
return SearchResultDataInnerFromJSONTyped(json, false);
}
function SearchResultDataInnerFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'uuid': json['uuid'] == null ? undefined : json['uuid'],
'title': json['title'] == null ? undefined : json['title'],
'content': json['content'] == null ? undefined : json['content'],
'type': json['type'] == null ? undefined : json['type'],
};
}
function SearchResultDataInnerToJSON(json) {
return SearchResultDataInnerToJSONTyped(json, false);
}
function SearchResultDataInnerToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'uuid': value['uuid'],
'title': value['title'],
'content': value['content'],
'type': value['type'],
};
}