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.7 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.ParentBlockIdTypeEnum = void 0;
exports.instanceOfParentBlockId = instanceOfParentBlockId;
exports.ParentBlockIdFromJSON = ParentBlockIdFromJSON;
exports.ParentBlockIdFromJSONTyped = ParentBlockIdFromJSONTyped;
exports.ParentBlockIdToJSON = ParentBlockIdToJSON;
exports.ParentBlockIdToJSONTyped = ParentBlockIdToJSONTyped;
/**
* @export
*/
exports.ParentBlockIdTypeEnum = {
BlockId: 'block_id'
};
/**
* Check if a given object implements the ParentBlockId interface.
*/
function instanceOfParentBlockId(value) {
if (!('type' in value) || value['type'] === undefined)
return false;
if (!('block_id' in value) || value['block_id'] === undefined)
return false;
return true;
}
function ParentBlockIdFromJSON(json) {
return ParentBlockIdFromJSONTyped(json, false);
}
function ParentBlockIdFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'type': json['type'],
'block_id': json['block_id'],
};
}
function ParentBlockIdToJSON(json) {
return ParentBlockIdToJSONTyped(json, false);
}
function ParentBlockIdToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'type': value['type'],
'block_id': value['block_id'],
};
}