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.CreatePageResponseUpdatedByObjectEnum = void 0;
exports.instanceOfCreatePageResponseUpdatedBy = instanceOfCreatePageResponseUpdatedBy;
exports.CreatePageResponseUpdatedByFromJSON = CreatePageResponseUpdatedByFromJSON;
exports.CreatePageResponseUpdatedByFromJSONTyped = CreatePageResponseUpdatedByFromJSONTyped;
exports.CreatePageResponseUpdatedByToJSON = CreatePageResponseUpdatedByToJSON;
exports.CreatePageResponseUpdatedByToJSONTyped = CreatePageResponseUpdatedByToJSONTyped;
/**
* @export
*/
exports.CreatePageResponseUpdatedByObjectEnum = {
User: 'user'
};
/**
* Check if a given object implements the CreatePageResponseUpdatedBy interface.
*/
function instanceOfCreatePageResponseUpdatedBy(value) {
return true;
}
function CreatePageResponseUpdatedByFromJSON(json) {
return CreatePageResponseUpdatedByFromJSONTyped(json, false);
}
function CreatePageResponseUpdatedByFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'object': json['object'] == null ? undefined : json['object'],
'id': json['id'] == null ? undefined : json['id'],
};
}
function CreatePageResponseUpdatedByToJSON(json) {
return CreatePageResponseUpdatedByToJSONTyped(json, false);
}
function CreatePageResponseUpdatedByToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'object': value['object'],
'id': value['id'],
};
}