fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
52 lines • 1.83 kB
JavaScript
;
/* tslint:disable */
/* eslint-disable */
/**
* fastcomments
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 0.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.instanceOfBanUserUndoParams = instanceOfBanUserUndoParams;
exports.BanUserUndoParamsFromJSON = BanUserUndoParamsFromJSON;
exports.BanUserUndoParamsFromJSONTyped = BanUserUndoParamsFromJSONTyped;
exports.BanUserUndoParamsToJSON = BanUserUndoParamsToJSON;
exports.BanUserUndoParamsToJSONTyped = BanUserUndoParamsToJSONTyped;
const APIBanUserChangeLog_1 = require("./APIBanUserChangeLog");
/**
* Check if a given object implements the BanUserUndoParams interface.
*/
function instanceOfBanUserUndoParams(value) {
if (!('changelog' in value) || value['changelog'] === undefined)
return false;
return true;
}
function BanUserUndoParamsFromJSON(json) {
return BanUserUndoParamsFromJSONTyped(json, false);
}
function BanUserUndoParamsFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'changelog': (0, APIBanUserChangeLog_1.APIBanUserChangeLogFromJSON)(json['changelog']),
};
}
function BanUserUndoParamsToJSON(json) {
return BanUserUndoParamsToJSONTyped(json, false);
}
function BanUserUndoParamsToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'changelog': (0, APIBanUserChangeLog_1.APIBanUserChangeLogToJSON)(value['changelog']),
};
}
//# sourceMappingURL=BanUserUndoParams.js.map