flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
53 lines (52 loc) • 1.77 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.instanceOfRichTextItemMentionDate = instanceOfRichTextItemMentionDate;
exports.RichTextItemMentionDateFromJSON = RichTextItemMentionDateFromJSON;
exports.RichTextItemMentionDateFromJSONTyped = RichTextItemMentionDateFromJSONTyped;
exports.RichTextItemMentionDateToJSON = RichTextItemMentionDateToJSON;
exports.RichTextItemMentionDateToJSONTyped = RichTextItemMentionDateToJSONTyped;
/**
* Check if a given object implements the RichTextItemMentionDate interface.
*/
function instanceOfRichTextItemMentionDate(value) {
return true;
}
function RichTextItemMentionDateFromJSON(json) {
return RichTextItemMentionDateFromJSONTyped(json, false);
}
function RichTextItemMentionDateFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'start': json['start'] == null ? undefined : json['start'],
'end': json['end'] == null ? undefined : json['end'],
'time_zone': json['time_zone'] == null ? undefined : json['time_zone'],
};
}
function RichTextItemMentionDateToJSON(json) {
return RichTextItemMentionDateToJSONTyped(json, false);
}
function RichTextItemMentionDateToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'start': value['start'],
'end': value['end'],
'time_zone': value['time_zone'],
};
}