@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
40 lines (39 loc) • 1.21 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.
*/
import type { RedditThread } from './RedditThread';
/**
*
* @export
* @interface RedditResponse
*/
export interface RedditResponse {
/**
*
* @type {Array<RedditThread>}
* @memberof RedditResponse
*/
asDicts?: Array<RedditThread> | null;
/**
*
* @type {string}
* @memberof RedditResponse
*/
asString?: string | null;
}
/**
* Check if a given object implements the RedditResponse interface.
*/
export declare function instanceOfRedditResponse(value: object): value is RedditResponse;
export declare function RedditResponseFromJSON(json: any): RedditResponse;
export declare function RedditResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RedditResponse;
export declare function RedditResponseToJSON(json: any): RedditResponse;
export declare function RedditResponseToJSONTyped(value?: RedditResponse | null, ignoreDiscriminator?: boolean): any;