@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
40 lines (39 loc) • 1.28 kB
JavaScript
/* tslint:disable */
/* eslint-disable */
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.21.1
* Contact: contact@emergentmethods.ai
*
* 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.SentimentToJSONTyped = exports.SentimentToJSON = exports.SentimentFromJSONTyped = exports.SentimentFromJSON = exports.instanceOfSentiment = void 0;
/**
* Check if a given object implements the Sentiment interface.
*/
function instanceOfSentiment(value) {
return true;
}
exports.instanceOfSentiment = instanceOfSentiment;
function SentimentFromJSON(json) {
return SentimentFromJSONTyped(json, false);
}
exports.SentimentFromJSON = SentimentFromJSON;
function SentimentFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
exports.SentimentFromJSONTyped = SentimentFromJSONTyped;
function SentimentToJSON(json) {
return SentimentToJSONTyped(json, false);
}
exports.SentimentToJSON = SentimentToJSON;
function SentimentToJSONTyped(value, ignoreDiscriminator = false) {
return value;
}
exports.SentimentToJSONTyped = SentimentToJSONTyped;
;