flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
69 lines (68 loc) • 2.12 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.PropertySchemaSelectOptionColorEnum = void 0;
exports.instanceOfPropertySchemaSelectOption = instanceOfPropertySchemaSelectOption;
exports.PropertySchemaSelectOptionFromJSON = PropertySchemaSelectOptionFromJSON;
exports.PropertySchemaSelectOptionFromJSONTyped = PropertySchemaSelectOptionFromJSONTyped;
exports.PropertySchemaSelectOptionToJSON = PropertySchemaSelectOptionToJSON;
exports.PropertySchemaSelectOptionToJSONTyped = PropertySchemaSelectOptionToJSONTyped;
/**
* @export
*/
exports.PropertySchemaSelectOptionColorEnum = {
Default: 'default',
Gray: 'gray',
Brown: 'brown',
Orange: 'orange',
Yellow: 'yellow',
Green: 'green',
Blue: 'blue',
Purple: 'purple',
Pink: 'pink',
Red: 'red'
};
/**
* Check if a given object implements the PropertySchemaSelectOption interface.
*/
function instanceOfPropertySchemaSelectOption(value) {
return true;
}
function PropertySchemaSelectOptionFromJSON(json) {
return PropertySchemaSelectOptionFromJSONTyped(json, false);
}
function PropertySchemaSelectOptionFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'id': json['id'] == null ? undefined : json['id'],
'name': json['name'] == null ? undefined : json['name'],
'color': json['color'] == null ? undefined : json['color'],
};
}
function PropertySchemaSelectOptionToJSON(json) {
return PropertySchemaSelectOptionToJSONTyped(json, false);
}
function PropertySchemaSelectOptionToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'id': value['id'],
'name': value['name'],
'color': value['color'],
};
}