Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AudioIntelligenceModelStatusJsonConverter : global::System.T
var numValue = reader.GetInt32();
return (global::AssemblyAI.AudioIntelligenceModelStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.AudioIntelligenceModelStatus);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class AudioIntelligenceModelStatusNullableJsonConverter : global::
var numValue = reader.GetInt32();
return (global::AssemblyAI.AudioIntelligenceModelStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.AudioIntelligenceModelStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.EntityType.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class EntityTypeJsonConverter : global::System.Text.Json.Serializa
var numValue = reader.GetInt32();
return (global::AssemblyAI.EntityType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.EntityType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class EntityTypeNullableJsonConverter : global::System.Text.Json.S
var numValue = reader.GetInt32();
return (global::AssemblyAI.EntityType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.EntityType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.ErrorStatus.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class ErrorStatusJsonConverter : global::System.Text.Json.Serializ
var numValue = reader.GetInt32();
return (global::AssemblyAI.ErrorStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.ErrorStatus);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class ErrorStatusNullableJsonConverter : global::System.Text.Json.
var numValue = reader.GetInt32();
return (global::AssemblyAI.ErrorStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.ErrorStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.LemurModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class LemurModelJsonConverter : global::System.Text.Json.Serializa
var numValue = reader.GetInt32();
return (global::AssemblyAI.LemurModel)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.LemurModel);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class LemurModelNullableJsonConverter : global::System.Text.Json.S
var numValue = reader.GetInt32();
return (global::AssemblyAI.LemurModel)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.LemurModel?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.PiiPolicy.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class PiiPolicyJsonConverter : global::System.Text.Json.Serializat
var numValue = reader.GetInt32();
return (global::AssemblyAI.PiiPolicy)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.PiiPolicy);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class PiiPolicyNullableJsonConverter : global::System.Text.Json.Se
var numValue = reader.GetInt32();
return (global::AssemblyAI.PiiPolicy)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.PiiPolicy?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class RedactPiiAudioQualityJsonConverter : global::System.Text.Jso
var numValue = reader.GetInt32();
return (global::AssemblyAI.RedactPiiAudioQuality)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.RedactPiiAudioQuality);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class RedactPiiAudioQualityNullableJsonConverter : global::System.
var numValue = reader.GetInt32();
return (global::AssemblyAI.RedactPiiAudioQuality)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.RedactPiiAudioQuality?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class RedactedAudioStatusJsonConverter : global::System.Text.Json.
var numValue = reader.GetInt32();
return (global::AssemblyAI.RedactedAudioStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.RedactedAudioStatus);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class RedactedAudioStatusNullableJsonConverter : global::System.Te
var numValue = reader.GetInt32();
return (global::AssemblyAI.RedactedAudioStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.RedactedAudioStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.Sentiment.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SentimentJsonConverter : global::System.Text.Json.Serializat
var numValue = reader.GetInt32();
return (global::AssemblyAI.Sentiment)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.Sentiment);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SentimentNullableJsonConverter : global::System.Text.Json.Se
var numValue = reader.GetInt32();
return (global::AssemblyAI.Sentiment)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.Sentiment?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.SpeechModel.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SpeechModelJsonConverter : global::System.Text.Json.Serializ
var numValue = reader.GetInt32();
return (global::AssemblyAI.SpeechModel)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SpeechModel);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SpeechModelNullableJsonConverter : global::System.Text.Json.
var numValue = reader.GetInt32();
return (global::AssemblyAI.SpeechModel)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SpeechModel?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SubstitutionPolicyJsonConverter : global::System.Text.Json.S
var numValue = reader.GetInt32();
return (global::AssemblyAI.SubstitutionPolicy)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SubstitutionPolicy);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SubstitutionPolicyNullableJsonConverter : global::System.Tex
var numValue = reader.GetInt32();
return (global::AssemblyAI.SubstitutionPolicy)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SubstitutionPolicy?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SubtitleFormatJsonConverter : global::System.Text.Json.Seria
var numValue = reader.GetInt32();
return (global::AssemblyAI.SubtitleFormat)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SubtitleFormat);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SubtitleFormatNullableJsonConverter : global::System.Text.Js
var numValue = reader.GetInt32();
return (global::AssemblyAI.SubtitleFormat)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SubtitleFormat?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SummaryModelJsonConverter : global::System.Text.Json.Seriali
var numValue = reader.GetInt32();
return (global::AssemblyAI.SummaryModel)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SummaryModel);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SummaryModelNullableJsonConverter : global::System.Text.Json
var numValue = reader.GetInt32();
return (global::AssemblyAI.SummaryModel)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SummaryModel?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
4 changes: 4 additions & 0 deletions src/libs/AssemblyAI/Generated/JsonConverters.SummaryType.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SummaryTypeJsonConverter : global::System.Text.Json.Serializ
var numValue = reader.GetInt32();
return (global::AssemblyAI.SummaryType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SummaryType);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class SummaryTypeNullableJsonConverter : global::System.Text.Json.
var numValue = reader.GetInt32();
return (global::AssemblyAI.SummaryType)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.SummaryType?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptBoostParamJsonConverter : global::System.Text.Json
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptBoostParam)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptBoostParam);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptBoostParamNullableJsonConverter : global::System.T
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptBoostParam)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptBoostParam?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptLanguageCodeJsonConverter : global::System.Text.Js
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptLanguageCode)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptLanguageCode);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptLanguageCodeNullableJsonConverter : global::System
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptLanguageCode)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptLanguageCode?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptReadyStatusJsonConverter : global::System.Text.Jso
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptReadyStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptReadyStatus);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptReadyStatusNullableJsonConverter : global::System.
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptReadyStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptReadyStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptStatusJsonConverter : global::System.Text.Json.Ser
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptStatus);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ public sealed class TranscriptStatusNullableJsonConverter : global::System.Text.
var numValue = reader.GetInt32();
return (global::AssemblyAI.TranscriptStatus)numValue;
}
case global::System.Text.Json.JsonTokenType.Null:
{
return default(global::AssemblyAI.TranscriptStatus?);
}
default:
throw new global::System.ArgumentOutOfRangeException(nameof(reader));
}
Expand Down