flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
55 lines (54 loc) • 1.74 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.instanceOfPropertySchemaDate = instanceOfPropertySchemaDate;
exports.PropertySchemaDateFromJSON = PropertySchemaDateFromJSON;
exports.PropertySchemaDateFromJSONTyped = PropertySchemaDateFromJSONTyped;
exports.PropertySchemaDateToJSON = PropertySchemaDateToJSON;
exports.PropertySchemaDateToJSONTyped = PropertySchemaDateToJSONTyped;
/**
* Check if a given object implements the PropertySchemaDate interface.
*/
function instanceOfPropertySchemaDate(value) {
return true;
}
function PropertySchemaDateFromJSON(json) {
return PropertySchemaDateFromJSONTyped(json, false);
}
function PropertySchemaDateFromJSONTyped(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'],
'date': json['date'] == null ? undefined : json['date'],
};
}
function PropertySchemaDateToJSON(json) {
return PropertySchemaDateToJSONTyped(json, false);
}
function PropertySchemaDateToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'id': value['id'],
'name': value['name'],
'type': value['type'],
'date': value['date'],
};
}