UNPKG

fastcomments-sdk

Version:

FastComments API Client - A SDK for interacting with the FastComments API

51 lines 1.66 kB
"use strict"; /* 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.instanceOfCommentsByIdsParams = instanceOfCommentsByIdsParams; exports.CommentsByIdsParamsFromJSON = CommentsByIdsParamsFromJSON; exports.CommentsByIdsParamsFromJSONTyped = CommentsByIdsParamsFromJSONTyped; exports.CommentsByIdsParamsToJSON = CommentsByIdsParamsToJSON; exports.CommentsByIdsParamsToJSONTyped = CommentsByIdsParamsToJSONTyped; /** * Check if a given object implements the CommentsByIdsParams interface. */ function instanceOfCommentsByIdsParams(value) { if (!('ids' in value) || value['ids'] === undefined) return false; return true; } function CommentsByIdsParamsFromJSON(json) { return CommentsByIdsParamsFromJSONTyped(json, false); } function CommentsByIdsParamsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'ids': json['ids'], }; } function CommentsByIdsParamsToJSON(json) { return CommentsByIdsParamsToJSONTyped(json, false); } function CommentsByIdsParamsToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'ids': value['ids'], }; } //# sourceMappingURL=CommentsByIdsParams.js.map