@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
69 lines (68 loc) • 1.77 kB
TypeScript
/**
* AskNews API
* AskNews API [](https://status.asknews.app/status/prod)
*
* The version of the OpenAPI document: 0.24.22
* 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 WebSearchResult
*/
export interface WebSearchResult {
/**
*
* @type {string}
* @memberof WebSearchResult
*/
title: string;
/**
*
* @type {string}
* @memberof WebSearchResult
*/
url: string;
/**
*
* @type {string}
* @memberof WebSearchResult
*/
source: string;
/**
*
* @type {string}
* @memberof WebSearchResult
*/
published: string;
/**
*
* @type {Array<string>}
* @memberof WebSearchResult
*/
keyPoints: Array<string>;
/**
*
* @type {string}
* @memberof WebSearchResult
*/
rawText?: string;
/**
*
* @type {string}
* @memberof WebSearchResult
*/
asStringKey?: string | null;
}
/**
* Check if a given object implements the WebSearchResult interface.
*/
export declare function instanceOfWebSearchResult(value: object): value is WebSearchResult;
export declare function WebSearchResultFromJSON(json: any): WebSearchResult;
export declare function WebSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResult;
export declare function WebSearchResultToJSON(json: any): WebSearchResult;
export declare function WebSearchResultToJSONTyped(value?: WebSearchResult | null, ignoreDiscriminator?: boolean): any;