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) • 2.05 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.CreatePageResponseParentOneOfTypeEnum = void 0;
exports.instanceOfCreatePageResponseParentOneOf = instanceOfCreatePageResponseParentOneOf;
exports.CreatePageResponseParentOneOfFromJSON = CreatePageResponseParentOneOfFromJSON;
exports.CreatePageResponseParentOneOfFromJSONTyped = CreatePageResponseParentOneOfFromJSONTyped;
exports.CreatePageResponseParentOneOfToJSON = CreatePageResponseParentOneOfToJSON;
exports.CreatePageResponseParentOneOfToJSONTyped = CreatePageResponseParentOneOfToJSONTyped;
/**
* @export
*/
exports.CreatePageResponseParentOneOfTypeEnum = {
DatabaseId: 'database_id'
};
/**
* Check if a given object implements the CreatePageResponseParentOneOf interface.
*/
function instanceOfCreatePageResponseParentOneOf(value) {
if (!('type' in value) || value['type'] === undefined)
return false;
if (!('database_id' in value) || value['database_id'] === undefined)
return false;
return true;
}
function CreatePageResponseParentOneOfFromJSON(json) {
return CreatePageResponseParentOneOfFromJSONTyped(json, false);
}
function CreatePageResponseParentOneOfFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'type': json['type'],
'database_id': json['database_id'],
};
}
function CreatePageResponseParentOneOfToJSON(json) {
return CreatePageResponseParentOneOfToJSONTyped(json, false);
}
function CreatePageResponseParentOneOfToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'type': value['type'],
'database_id': value['database_id'],
};
}