flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
56 lines (55 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.instanceOfPropertySchemaMultiSelect = instanceOfPropertySchemaMultiSelect;
exports.PropertySchemaMultiSelectFromJSON = PropertySchemaMultiSelectFromJSON;
exports.PropertySchemaMultiSelectFromJSONTyped = PropertySchemaMultiSelectFromJSONTyped;
exports.PropertySchemaMultiSelectToJSON = PropertySchemaMultiSelectToJSON;
exports.PropertySchemaMultiSelectToJSONTyped = PropertySchemaMultiSelectToJSONTyped;
const PropertySchemaSelectSelect_1 = require("./PropertySchemaSelectSelect");
/**
* Check if a given object implements the PropertySchemaMultiSelect interface.
*/
function instanceOfPropertySchemaMultiSelect(value) {
return true;
}
function PropertySchemaMultiSelectFromJSON(json) {
return PropertySchemaMultiSelectFromJSONTyped(json, false);
}
function PropertySchemaMultiSelectFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'id': json['id'] == null ? undefined : json['id'],
'name': json['name'] == null ? undefined : json['name'],
'type': json['type'] == null ? undefined : json['type'],
'multi_select': json['multi_select'] == null ? undefined : (0, PropertySchemaSelectSelect_1.PropertySchemaSelectSelectFromJSON)(json['multi_select']),
};
}
function PropertySchemaMultiSelectToJSON(json) {
return PropertySchemaMultiSelectToJSONTyped(json, false);
}
function PropertySchemaMultiSelectToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'id': value['id'],
'name': value['name'],
'type': value['type'],
'multi_select': (0, PropertySchemaSelectSelect_1.PropertySchemaSelectSelectToJSON)(value['multi_select']),
};
}