mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-21 04:39:06 +00:00
generate api
This commit is contained in:
@@ -43,6 +43,12 @@ export interface GetTranscriptTopic {
|
||||
* @memberof GetTranscriptTopic
|
||||
*/
|
||||
timestamp: any | null;
|
||||
/**
|
||||
*
|
||||
* @type {any}
|
||||
* @memberof GetTranscriptTopic
|
||||
*/
|
||||
duration: any | null;
|
||||
/**
|
||||
*
|
||||
* @type {any}
|
||||
@@ -66,6 +72,7 @@ export function instanceOfGetTranscriptTopic(value: object): boolean {
|
||||
isInstance = isInstance && "title" in value;
|
||||
isInstance = isInstance && "summary" in value;
|
||||
isInstance = isInstance && "timestamp" in value;
|
||||
isInstance = isInstance && "duration" in value;
|
||||
isInstance = isInstance && "transcript" in value;
|
||||
|
||||
return isInstance;
|
||||
@@ -87,6 +94,7 @@ export function GetTranscriptTopicFromJSONTyped(
|
||||
title: json["title"],
|
||||
summary: json["summary"],
|
||||
timestamp: json["timestamp"],
|
||||
duration: json["duration"],
|
||||
transcript: json["transcript"],
|
||||
segments: !exists(json, "segments") ? undefined : json["segments"],
|
||||
};
|
||||
@@ -106,6 +114,7 @@ export function GetTranscriptTopicToJSON(
|
||||
title: value.title,
|
||||
summary: value.summary,
|
||||
timestamp: value.timestamp,
|
||||
duration: value.duration,
|
||||
transcript: value.transcript,
|
||||
segments: value.segments,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user