flowus-api-sdk
Version:
Official TypeScript/JavaScript SDK for FlowUs API - Create, manage, and interact with FlowUs pages, databases, and blocks
53 lines (52 loc) • 1.73 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.instanceOfPropertyValueDateDate = instanceOfPropertyValueDateDate;
exports.PropertyValueDateDateFromJSON = PropertyValueDateDateFromJSON;
exports.PropertyValueDateDateFromJSONTyped = PropertyValueDateDateFromJSONTyped;
exports.PropertyValueDateDateToJSON = PropertyValueDateDateToJSON;
exports.PropertyValueDateDateToJSONTyped = PropertyValueDateDateToJSONTyped;
/**
* Check if a given object implements the PropertyValueDateDate interface.
*/
function instanceOfPropertyValueDateDate(value) {
return true;
}
function PropertyValueDateDateFromJSON(json) {
return PropertyValueDateDateFromJSONTyped(json, false);
}
function PropertyValueDateDateFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'start': json['start'] == null ? undefined : json['start'],
'end': json['end'] == null ? undefined : json['end'],
'time_zone': json['time_zone'] == null ? undefined : json['time_zone'],
};
}
function PropertyValueDateDateToJSON(json) {
return PropertyValueDateDateToJSONTyped(json, false);
}
function PropertyValueDateDateToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'start': value['start'],
'end': value['end'],
'time_zone': value['time_zone'],
};
}