flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
62 lines (61 loc) • 1.6 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.IconEmojiTypeEnum = void 0;
exports.instanceOfIconEmoji = instanceOfIconEmoji;
exports.IconEmojiFromJSON = IconEmojiFromJSON;
exports.IconEmojiFromJSONTyped = IconEmojiFromJSONTyped;
exports.IconEmojiToJSON = IconEmojiToJSON;
exports.IconEmojiToJSONTyped = IconEmojiToJSONTyped;
/**
* @export
*/
exports.IconEmojiTypeEnum = {
Emoji: 'emoji'
};
/**
* Check if a given object implements the IconEmoji interface.
*/
function instanceOfIconEmoji(value) {
if (!('type' in value) || value['type'] === undefined)
return false;
if (!('emoji' in value) || value['emoji'] === undefined)
return false;
return true;
}
function IconEmojiFromJSON(json) {
return IconEmojiFromJSONTyped(json, false);
}
function IconEmojiFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'type': json['type'],
'emoji': json['emoji'],
};
}
function IconEmojiToJSON(json) {
return IconEmojiToJSONTyped(json, false);
}
function IconEmojiToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'type': value['type'],
'emoji': value['emoji'],
};
}