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) • 1.59 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.CoverTypeEnum = void 0;
exports.instanceOfCover = instanceOfCover;
exports.CoverFromJSON = CoverFromJSON;
exports.CoverFromJSONTyped = CoverFromJSONTyped;
exports.CoverToJSON = CoverToJSON;
exports.CoverToJSONTyped = CoverToJSONTyped;
const CoverExternal_1 = require("./CoverExternal");
/**
* @export
*/
exports.CoverTypeEnum = {
External: 'external'
};
/**
* Check if a given object implements the Cover interface.
*/
function instanceOfCover(value) {
return true;
}
function CoverFromJSON(json) {
return CoverFromJSONTyped(json, false);
}
function CoverFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'type': json['type'] == null ? undefined : json['type'],
'external': json['external'] == null ? undefined : (0, CoverExternal_1.CoverExternalFromJSON)(json['external']),
};
}
function CoverToJSON(json) {
return CoverToJSONTyped(json, false);
}
function CoverToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'type': value['type'],
'external': (0, CoverExternal_1.CoverExternalToJSON)(value['external']),
};
}