@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
62 lines (61 loc) • 1.41 kB
TypeScript
/**
* AskNews API
* AskNews API
*
* The version of the OpenAPI document: 0.18.6
* 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;
}
/**
* Check if a given object implements the WebSearchResult interface.
*/
export declare function instanceOfWebSearchResult(value: object): boolean;
export declare function WebSearchResultFromJSON(json: any): WebSearchResult;
export declare function WebSearchResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): WebSearchResult;
export declare function WebSearchResultToJSON(value?: WebSearchResult | null): any;