diff --git a/Deepgram/Transcription/PrerecordedTranscriptionResult.cs b/Deepgram/Transcription/PrerecordedTranscriptionResult.cs index 8b1ffdfa..16faaed1 100644 --- a/Deepgram/Transcription/PrerecordedTranscriptionResult.cs +++ b/Deepgram/Transcription/PrerecordedTranscriptionResult.cs @@ -20,7 +20,7 @@ public class PrerecordedTranscriptionResult /// /// Summary of Transcription. /// - [JsonProperty("summary")] + [JsonProperty("summary", NullValueHandling=NullValueHandling.Ignore)] public Summary Summary { get; set; } } } diff --git a/Deepgram/Transcription/Summary.cs b/Deepgram/Transcription/Summary.cs index 74b1c8ae..7a149e50 100644 --- a/Deepgram/Transcription/Summary.cs +++ b/Deepgram/Transcription/Summary.cs @@ -8,7 +8,7 @@ public class Summary /// /// Summary of a section of the transcript /// - [JsonProperty("summary")] + [JsonProperty("summary", NullValueHandling=NullValueHandling.Ignore)] public string TextSummary { get; set; } /// @@ -26,8 +26,10 @@ public class Summary /// /// Array of Channel objects. /// - [JsonProperty("short")] + [JsonProperty("short", NullValueHandling=NullValueHandling.Ignore)] public string Short { get; set; } } } + +