UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
47 lines (39 loc) 1.03 kB
/* tslint:disable */ /* eslint-disable */ /** * AskNews API * AskNews API * * The version of the OpenAPI document: 0.19.10 * 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 { mapValues } from '../runtime'; /** * * @export * @interface Choice */ export interface Choice { } /** * Check if a given object implements the Choice interface. */ export function instanceOfChoice(value: object): value is Choice { return true; } export function ChoiceFromJSON(json: any): Choice { return ChoiceFromJSONTyped(json, false); } export function ChoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): Choice { return json; } export function ChoiceToJSON(json: any): Choice { return ChoiceToJSONTyped(json, false); } export function ChoiceToJSONTyped(value?: Choice | null, ignoreDiscriminator: boolean = false): any { return value; }