fastcomments-sdk
Version:
FastComments API Client - A SDK for interacting with the FastComments API
49 lines • 1.74 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.instanceOfBlockFromCommentParams = instanceOfBlockFromCommentParams;
exports.BlockFromCommentParamsFromJSON = BlockFromCommentParamsFromJSON;
exports.BlockFromCommentParamsFromJSONTyped = BlockFromCommentParamsFromJSONTyped;
exports.BlockFromCommentParamsToJSON = BlockFromCommentParamsToJSON;
exports.BlockFromCommentParamsToJSONTyped = BlockFromCommentParamsToJSONTyped;
/**
* Check if a given object implements the BlockFromCommentParams interface.
*/
function instanceOfBlockFromCommentParams(value) {
return true;
}
function BlockFromCommentParamsFromJSON(json) {
return BlockFromCommentParamsFromJSONTyped(json, false);
}
function BlockFromCommentParamsFromJSONTyped(json, ignoreDiscriminator) {
if (json == null) {
return json;
}
return {
'commentIdsToCheck': json['commentIdsToCheck'] == null ? undefined : json['commentIdsToCheck'],
};
}
function BlockFromCommentParamsToJSON(json) {
return BlockFromCommentParamsToJSONTyped(json, false);
}
function BlockFromCommentParamsToJSONTyped(value, ignoreDiscriminator = false) {
if (value == null) {
return value;
}
return {
'commentIdsToCheck': value['commentIdsToCheck'],
};
}
//# sourceMappingURL=BlockFromCommentParams.js.map