@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
40 lines (39 loc) • 1.17 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.UserToJSONTyped = exports.UserToJSON = exports.UserFromJSONTyped = exports.UserFromJSON = exports.instanceOfUser = void 0;
/**
* Check if a given object implements the User interface.
*/
function instanceOfUser(value) {
return true;
}
exports.instanceOfUser = instanceOfUser;
function UserFromJSON(json) {
return UserFromJSONTyped(json, false);
}
exports.UserFromJSON = UserFromJSON;
function UserFromJSONTyped(json, ignoreDiscriminator) {
return json;
}
exports.UserFromJSONTyped = UserFromJSONTyped;
function UserToJSON(json) {
return UserToJSONTyped(json, false);
}
exports.UserToJSON = UserToJSON;
function UserToJSONTyped(value, ignoreDiscriminator = false) {
return value;
}
exports.UserToJSONTyped = UserToJSONTyped;
;