flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
60 lines (59 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.DeleteBlockResponseObjectEnum = void 0;
exports.instanceOfDeleteBlockResponse = instanceOfDeleteBlockResponse;
exports.DeleteBlockResponseFromJSON = DeleteBlockResponseFromJSON;
exports.DeleteBlockResponseFromJSONTyped = DeleteBlockResponseFromJSONTyped;
exports.DeleteBlockResponseToJSON = DeleteBlockResponseToJSON;
exports.DeleteBlockResponseToJSONTyped = DeleteBlockResponseToJSONTyped;
/**
* @export
*/
exports.DeleteBlockResponseObjectEnum = {
Block: 'block'
};
/**
* Check if a given object implements the DeleteBlockResponse interface.
*/
function instanceOfDeleteBlockResponse(value) {
return true;
}
function DeleteBlockResponseFromJSON(json) {
return DeleteBlockResponseFromJSONTyped(json, false);
}
function DeleteBlockResponseFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'object': json['object'] == null ? undefined : json['object'],
'id': json['id'] == null ? undefined : json['id'],
'deleted': json['deleted'] == null ? undefined : json['deleted'],
};
}
function DeleteBlockResponseToJSON(json) {
return DeleteBlockResponseToJSONTyped(json, false);
}
function DeleteBlockResponseToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'object': value['object'],
'id': value['id'],
'deleted': value['deleted'],
};
}