flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
58 lines (57 loc) • 1.86 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.CreatePageResponseCreatedByObjectEnum = void 0;
exports.instanceOfCreatePageResponseCreatedBy = instanceOfCreatePageResponseCreatedBy;
exports.CreatePageResponseCreatedByFromJSON = CreatePageResponseCreatedByFromJSON;
exports.CreatePageResponseCreatedByFromJSONTyped = CreatePageResponseCreatedByFromJSONTyped;
exports.CreatePageResponseCreatedByToJSON = CreatePageResponseCreatedByToJSON;
exports.CreatePageResponseCreatedByToJSONTyped = CreatePageResponseCreatedByToJSONTyped;
/**
* @export
*/
exports.CreatePageResponseCreatedByObjectEnum = {
User: 'user'
};
/**
* Check if a given object implements the CreatePageResponseCreatedBy interface.
*/
function instanceOfCreatePageResponseCreatedBy(value) {
return true;
}
function CreatePageResponseCreatedByFromJSON(json) {
return CreatePageResponseCreatedByFromJSONTyped(json, false);
}
function CreatePageResponseCreatedByFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'object': json['object'] == null ? undefined : json['object'],
'id': json['id'] == null ? undefined : json['id'],
};
}
function CreatePageResponseCreatedByToJSON(json) {
return CreatePageResponseCreatedByToJSONTyped(json, false);
}
function CreatePageResponseCreatedByToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'object': value['object'],
'id': value['id'],
};
}