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.13 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.instanceOfCreatePagePropertyValueSelect = instanceOfCreatePagePropertyValueSelect;
exports.CreatePagePropertyValueSelectFromJSON = CreatePagePropertyValueSelectFromJSON;
exports.CreatePagePropertyValueSelectFromJSONTyped = CreatePagePropertyValueSelectFromJSONTyped;
exports.CreatePagePropertyValueSelectToJSON = CreatePagePropertyValueSelectToJSON;
exports.CreatePagePropertyValueSelectToJSONTyped = CreatePagePropertyValueSelectToJSONTyped;
const CreatePagePropertyValueSelectSelect_1 = require("./CreatePagePropertyValueSelectSelect");
/**
* Check if a given object implements the CreatePagePropertyValueSelect interface.
*/
function instanceOfCreatePagePropertyValueSelect(value) {
if (!('type' in value) || value['type'] === undefined)
return false;
if (!('select' in value) || value['select'] === undefined)
return false;
return true;
}
function CreatePagePropertyValueSelectFromJSON(json) {
return CreatePagePropertyValueSelectFromJSONTyped(json, false);
}
function CreatePagePropertyValueSelectFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'type': json['type'],
'select': (0, CreatePagePropertyValueSelectSelect_1.CreatePagePropertyValueSelectSelectFromJSON)(json['select']),
};
}
function CreatePagePropertyValueSelectToJSON(json) {
return CreatePagePropertyValueSelectToJSONTyped(json, false);
}
function CreatePagePropertyValueSelectToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'type': value['type'],
'select': (0, CreatePagePropertyValueSelectSelect_1.CreatePagePropertyValueSelectSelectToJSON)(value['select']),
};
}