UNPKG

fastcomments-sdk

Version:

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

55 lines 1.8 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.instanceOfFeedPostLink = instanceOfFeedPostLink; exports.FeedPostLinkFromJSON = FeedPostLinkFromJSON; exports.FeedPostLinkFromJSONTyped = FeedPostLinkFromJSONTyped; exports.FeedPostLinkToJSON = FeedPostLinkToJSON; exports.FeedPostLinkToJSONTyped = FeedPostLinkToJSONTyped; /** * Check if a given object implements the FeedPostLink interface. */ function instanceOfFeedPostLink(value) { return true; } function FeedPostLinkFromJSON(json) { return FeedPostLinkFromJSONTyped(json, false); } function FeedPostLinkFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'text': json['text'] == null ? undefined : json['text'], 'title': json['title'] == null ? undefined : json['title'], 'description': json['description'] == null ? undefined : json['description'], 'url': json['url'] == null ? undefined : json['url'], }; } function FeedPostLinkToJSON(json) { return FeedPostLinkToJSONTyped(json, false); } function FeedPostLinkToJSONTyped(value, ignoreDiscriminator = false) { if (value == null) { return value; } return { 'text': value['text'], 'title': value['title'], 'description': value['description'], 'url': value['url'], }; } //# sourceMappingURL=FeedPostLink.js.map