UNPKG

@emergentmethods/asknews-typescript-sdk

Version:
43 lines (42 loc) 1.11 kB
/* tslint:disable */ /* eslint-disable */ /** * 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. */ /** * Check if a given object implements the GoogleDocsParams interface. */ export function instanceOfGoogleDocsParams(value) { if (!('clientJson' in value)) return false; return true; } export function GoogleDocsParamsFromJSON(json) { return GoogleDocsParamsFromJSONTyped(json, false); } export function GoogleDocsParamsFromJSONTyped(json, ignoreDiscriminator) { if (json == null) { return json; } return { 'clientJson': json['client_json'], 'emails': json['emails'] == null ? undefined : json['emails'], }; } export function GoogleDocsParamsToJSON(value) { if (value == null) { return value; } return { 'client_json': value['clientJson'], 'emails': value['emails'], }; }