@emergentmethods/asknews-typescript-sdk
Version:
Typescript SDK for AskNews API
153 lines (152 loc) • 3.46 kB
TypeScript
/**
* AskNews API
* AskNews API [](https://status.asknews.app/status/prod)
*
* The version of the OpenAPI document: 0.24.66
* 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 SeriesConfig1
*/
export interface SeriesConfig1 {
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
name: string;
/**
*
* @type {Date}
* @memberof SeriesConfig1
*/
startDatetime: Date;
/**
*
* @type {Date}
* @memberof SeriesConfig1
*/
endDatetime: Date;
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
sampling?: string | null;
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
timeFilter?: string | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
categories?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
domains?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
badDomainUrl?: Array<string> | null;
/**
*
* @type {number}
* @memberof SeriesConfig1
*/
pageRank?: number | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
stringGuarantee?: Array<string> | null;
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
stringGuaranteeOp?: string | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
reverseStringGuarantee?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
entityGuarantee?: Array<string> | null;
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
entityGuaranteeOp?: string | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
countries?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
countriesBlacklist?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
continents?: Array<string> | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
languages?: Array<string> | null;
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
sentiment?: string | null;
/**
*
* @type {Array<string>}
* @memberof SeriesConfig1
*/
reportingVoice?: Array<string> | null;
/**
*
* @type {string}
* @memberof SeriesConfig1
*/
provocative?: string | null;
}
/**
* Check if a given object implements the SeriesConfig1 interface.
*/
export declare function instanceOfSeriesConfig1(value: object): value is SeriesConfig1;
export declare function SeriesConfig1FromJSON(json: any): SeriesConfig1;
export declare function SeriesConfig1FromJSONTyped(json: any, ignoreDiscriminator: boolean): SeriesConfig1;
export declare function SeriesConfig1ToJSON(json: any): SeriesConfig1;
export declare function SeriesConfig1ToJSONTyped(value?: SeriesConfig1 | null, ignoreDiscriminator?: boolean): any;