@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
40 lines (39 loc) • 1.4 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.ClassificationToJSONTyped = exports.ClassificationToJSON = exports.ClassificationFromJSONTyped = exports.ClassificationFromJSON = exports.instanceOfClassification = void 0;
/**
* Check if a given object implements the Classification interface.
*/
function instanceOfClassification(value) {
return true;
}
exports.instanceOfClassification = instanceOfClassification;
function ClassificationFromJSON(json) {
return ClassificationFromJSONTyped(json, false);
}
exports.ClassificationFromJSON = ClassificationFromJSON;
function ClassificationFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
exports.ClassificationFromJSONTyped = ClassificationFromJSONTyped;
function ClassificationToJSON(json) {
return ClassificationToJSONTyped(json, false);
}
exports.ClassificationToJSON = ClassificationToJSON;
function ClassificationToJSONTyped(value, ignoreDiscriminator = false) {
return value;
}
exports.ClassificationToJSONTyped = ClassificationToJSONTyped;
;