@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
51 lines (50 loc) • 1.28 kB
TypeScript
/**
* 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.
*/
/**
*
* @export
* @interface RedditComment
*/
export interface RedditComment {
/**
*
* @type {string}
* @memberof RedditComment
*/
author: string;
/**
*
* @type {string}
* @memberof RedditComment
*/
body: string;
/**
*
* @type {Date}
* @memberof RedditComment
*/
date: Date;
/**
*
* @type {number}
* @memberof RedditComment
*/
upvotes: number;
}
/**
* Check if a given object implements the RedditComment interface.
*/
export declare function instanceOfRedditComment(value: object): value is RedditComment;
export declare function RedditCommentFromJSON(json: any): RedditComment;
export declare function RedditCommentFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedditComment;
export declare function RedditCommentToJSON(json: any): RedditComment;
export declare function RedditCommentToJSONTyped(value?: RedditComment | null, ignoreDiscriminator?: boolean): any;