diff --git a/src/libs/PlayHT/Generated/PlayHT.IPlayHTClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.IPlayHTClient.g.cs
index 0af7f48..2d9614b 100644
--- a/src/libs/PlayHT/Generated/PlayHT.IPlayHTClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.IPlayHTClient.g.cs
@@ -41,23 +41,23 @@ public partial interface IPlayHTClient : global::System.IDisposable
///
- ///
+ ///
///
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
///
- ///
+ ///
///
public TextToSpeechClient TextToSpeech { get; }
///
- ///
+ ///
///
public VoicesClient Voices { get; }
///
- ///
+ ///
///
public WebSocketClient WebSocket { get; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.ITextToSpeechClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.ITextToSpeechClient.g.cs
index 4886a8d..d935cce 100644
--- a/src/libs/PlayHT/Generated/PlayHT.ITextToSpeechClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.ITextToSpeechClient.g.cs
@@ -39,7 +39,7 @@ public partial interface ITextToSpeechClient : global::System.IDisposable
///
- ///
+ ///
///
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.IVoicesClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.IVoicesClient.g.cs
index ce37fe6..e30f41b 100644
--- a/src/libs/PlayHT/Generated/PlayHT.IVoicesClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.IVoicesClient.g.cs
@@ -39,7 +39,7 @@ public partial interface IVoicesClient : global::System.IDisposable
///
- ///
+ ///
///
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.IWebSocketClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.IWebSocketClient.g.cs
index c385f66..1796eff 100644
--- a/src/libs/PlayHT/Generated/PlayHT.IWebSocketClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.IWebSocketClient.g.cs
@@ -39,7 +39,7 @@ public partial interface IWebSocketClient : global::System.IDisposable
///
- ///
+ ///
///
global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormat.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormat.g.cs
index 93378c6..8d8011e 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormat.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormat.g.cs
@@ -20,7 +20,7 @@ public sealed class OutputFormatJsonConverter : global::System.Text.Json.Seriali
{
return global::PlayHT.OutputFormatExtensions.ToEnum(stringValue) ?? default;
}
-
+
break;
}
case global::System.Text.Json.JsonTokenType.Number:
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormatNullable.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormatNullable.g.cs
index edfb6e1..9c51732 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormatNullable.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.OutputFormatNullable.g.cs
@@ -20,7 +20,7 @@ public sealed class OutputFormatNullableJsonConverter : global::System.Text.Json
{
return global::PlayHT.OutputFormatExtensions.ToEnum(stringValue);
}
-
+
break;
}
case global::System.Text.Json.JsonTokenType.Number:
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModel.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModel.g.cs
index 3c8ba26..70cdb78 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModel.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModel.g.cs
@@ -20,7 +20,7 @@ public sealed class TtsModelJsonConverter : global::System.Text.Json.Serializati
{
return global::PlayHT.TtsModelExtensions.ToEnum(stringValue) ?? default;
}
-
+
break;
}
case global::System.Text.Json.JsonTokenType.Number:
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModelNullable.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModelNullable.g.cs
index 70eeeb8..33397b6 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModelNullable.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.TtsModelNullable.g.cs
@@ -20,7 +20,7 @@ public sealed class TtsModelNullableJsonConverter : global::System.Text.Json.Ser
{
return global::PlayHT.TtsModelExtensions.ToEnum(stringValue);
}
-
+
break;
}
case global::System.Text.Json.JsonTokenType.Number:
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.UnixTimestamp.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.UnixTimestamp.g.cs
index 94a214d..1829d06 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonConverters.UnixTimestamp.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonConverters.UnixTimestamp.g.cs
@@ -19,7 +19,7 @@ public class UnixTimestampJsonConverter : global::System.Text.Json.Serialization
{
return global::System.DateTimeOffset.FromUnixTimeSeconds(unixTimestamp);
}
-
+
return global::System.DateTimeOffset.FromUnixTimeMilliseconds(unixTimestamp);
}
if (reader.TryGetInt32(out int unixTimestampInt))
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContext.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContext.g.cs
index 65fb466..d861009 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContext.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContext.g.cs
@@ -7,7 +7,7 @@
namespace PlayHT
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonSourceGenerationOptions(
DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull,
diff --git a/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContextTypes.g.cs b/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContextTypes.g.cs
index 17f2cd9..b90a02a 100644
--- a/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContextTypes.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.JsonSerializerContextTypes.g.cs
@@ -6,108 +6,108 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class JsonSerializerContextTypes
{
///
- ///
+ ///
///
public global::System.Collections.Generic.Dictionary? StringStringDictionary { get; set; }
///
- ///
+ ///
///
public global::System.Collections.Generic.Dictionary? StringObjectDictionary { get; set; }
///
- ///
+ ///
///
public global::System.Text.Json.JsonElement? JsonElement { get; set; }
///
- ///
+ ///
///
public global::PlayHT.OutputFormat? Type0 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.TtsModel? Type1 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.CreateSpeechRequest? Type2 { get; set; }
///
- ///
+ ///
///
public string? Type3 { get; set; }
///
- ///
+ ///
///
public float? Type4 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.StreamSpeechRequest? Type5 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.StreamSpeechRequestVariant2? Type6 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.CreateSpeechResponse? Type7 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.SpeechJob? Type8 { get; set; }
///
- ///
+ ///
///
public object? Type9 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.Voice? Type10 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.ListVoicesResponse? Type11 { get; set; }
///
- ///
+ ///
///
public global::System.Collections.Generic.IList? Type12 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.ListVoicesResponseVariant2? Type13 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.WebSocketAuthResponse? Type14 { get; set; }
///
- ///
+ ///
///
public global::System.Collections.Generic.Dictionary? Type15 { get; set; }
///
- ///
+ ///
///
public global::System.DateTime? Type16 { get; set; }
///
- ///
+ ///
///
public global::PlayHT.ErrorResponse? Type17 { get; set; }
///
- ///
+ ///
///
public int? Type18 { get; set; }
///
- ///
+ ///
///
public byte[]? Type19 { get; set; }
///
- ///
+ ///
///
public global::System.Collections.Generic.List? ListType0 { get; set; }
}
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechRequest.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechRequest.g.cs
index 9290a8a..5d0dde6 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechRequest.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechRequest.g.cs
@@ -4,12 +4,12 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class CreateSpeechRequest
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("text")]
[global::System.Text.Json.Serialization.JsonRequired]
@@ -23,39 +23,39 @@ public sealed partial class CreateSpeechRequest
public required string Voice { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("model")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::PlayHT.JsonConverters.TtsModelJsonConverter))]
public global::PlayHT.TtsModel? Model { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("output_format")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::PlayHT.JsonConverters.OutputFormatJsonConverter))]
public global::PlayHT.OutputFormat? OutputFormat { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("speed")]
public float? Speed { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("temperature")]
public float? Temperature { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("voice_engine")]
public string? VoiceEngine { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("language")]
public string? Language { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechResponse.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechResponse.g.cs
index b108c7a..0e10172 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechResponse.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.CreateSpeechResponse.g.cs
@@ -4,30 +4,30 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class CreateSpeechResponse
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("job_id")]
public string? JobId { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("asyncTtsJobId")]
public string? AsyncTtsJobId { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
public string? Status { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.ErrorResponse.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.ErrorResponse.g.cs
index cf07d8d..8e84aa5 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.ErrorResponse.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.ErrorResponse.g.cs
@@ -4,24 +4,24 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class ErrorResponse
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("error")]
public string? Error { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("message")]
public string? Message { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("statusCode")]
public int? StatusCode { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponse.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponse.g.cs
index 21c1fc8..5cef62a 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponse.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponse.g.cs
@@ -5,12 +5,12 @@
namespace PlayHT
{
///
- ///
+ ///
///
public readonly partial struct ListVoicesResponse : global::System.IEquatable
{
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
public global::System.Collections.Generic.IList? ListVoicesResponseVariant1 { get; init; }
@@ -19,7 +19,7 @@ namespace PlayHT
#endif
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListVoicesResponseVariant1))]
@@ -27,7 +27,7 @@ namespace PlayHT
public bool IsListVoicesResponseVariant1 => ListVoicesResponseVariant1 != null;
///
- ///
+ ///
///
public bool TryPickListVoicesResponseVariant1(
#if NET6_0_OR_GREATER
@@ -40,14 +40,14 @@ public bool TryPickListVoicesResponseVariant1(
}
///
- ///
+ ///
///
public global::System.Collections.Generic.IList PickListVoicesResponseVariant1() => IsListVoicesResponseVariant1
? ListVoicesResponseVariant1!
: throw new global::System.InvalidOperationException($"Expected union variant 'ListVoicesResponseVariant1' but the value was {ToString()}.");
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
public global::PlayHT.ListVoicesResponseVariant2? ListVoicesResponseVariant2 { get; init; }
@@ -56,7 +56,7 @@ public bool TryPickListVoicesResponseVariant1(
#endif
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(ListVoicesResponseVariant2))]
@@ -64,7 +64,7 @@ public bool TryPickListVoicesResponseVariant1(
public bool IsListVoicesResponseVariant2 => ListVoicesResponseVariant2 != null;
///
- ///
+ ///
///
public bool TryPickListVoicesResponseVariant2(
#if NET6_0_OR_GREATER
@@ -77,23 +77,23 @@ public bool TryPickListVoicesResponseVariant2(
}
///
- ///
+ ///
///
public global::PlayHT.ListVoicesResponseVariant2 PickListVoicesResponseVariant2() => IsListVoicesResponseVariant2
? ListVoicesResponseVariant2!
: throw new global::System.InvalidOperationException($"Expected union variant 'ListVoicesResponseVariant2' but the value was {ToString()}.");
///
- ///
+ ///
///
public static implicit operator ListVoicesResponse(global::PlayHT.ListVoicesResponseVariant2 value) => new ListVoicesResponse((global::PlayHT.ListVoicesResponseVariant2?)value);
///
- ///
+ ///
///
public static implicit operator global::PlayHT.ListVoicesResponseVariant2?(ListVoicesResponse @this) => @this.ListVoicesResponseVariant2;
///
- ///
+ ///
///
public ListVoicesResponse(global::PlayHT.ListVoicesResponseVariant2? value)
{
@@ -101,12 +101,12 @@ public ListVoicesResponse(global::PlayHT.ListVoicesResponseVariant2? value)
}
///
- ///
+ ///
///
public static ListVoicesResponse FromListVoicesResponseVariant2(global::PlayHT.ListVoicesResponseVariant2? value) => new ListVoicesResponse(value);
///
- ///
+ ///
///
public ListVoicesResponse(
global::System.Collections.Generic.IList? listVoicesResponseVariant1,
@@ -118,23 +118,23 @@ public ListVoicesResponse(
}
///
- ///
+ ///
///
public object? Object =>
ListVoicesResponseVariant2 as object ??
- ListVoicesResponseVariant1 as object
+ ListVoicesResponseVariant1 as object
;
///
- ///
+ ///
///
public override string? ToString() =>
ListVoicesResponseVariant1?.ToString() ??
- ListVoicesResponseVariant2?.ToString()
+ ListVoicesResponseVariant2?.ToString()
;
///
- ///
+ ///
///
public bool Validate()
{
@@ -142,7 +142,7 @@ public bool Validate()
}
///
- ///
+ ///
///
public TResult? Match(
global::System.Func, TResult>? listVoicesResponseVariant1 = null,
@@ -167,7 +167,7 @@ public bool Validate()
}
///
- ///
+ ///
///
public void Match(
global::System.Action>? listVoicesResponseVariant1 = null,
@@ -191,7 +191,7 @@ public void Match(
}
///
- ///
+ ///
///
public void Switch(
global::System.Action>? listVoicesResponseVariant1 = null,
@@ -214,7 +214,7 @@ public void Switch(
}
///
- ///
+ ///
///
public override int GetHashCode()
{
@@ -235,18 +235,18 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null
}
///
- ///
+ ///
///
public bool Equals(ListVoicesResponse other)
{
return
global::System.Collections.Generic.EqualityComparer?>.Default.Equals(ListVoicesResponseVariant1, other.ListVoicesResponseVariant1) &&
- global::System.Collections.Generic.EqualityComparer.Default.Equals(ListVoicesResponseVariant2, other.ListVoicesResponseVariant2)
+ global::System.Collections.Generic.EqualityComparer.Default.Equals(ListVoicesResponseVariant2, other.ListVoicesResponseVariant2)
;
}
///
- ///
+ ///
///
public static bool operator ==(ListVoicesResponse obj1, ListVoicesResponse obj2)
{
@@ -254,7 +254,7 @@ public bool Equals(ListVoicesResponse other)
}
///
- ///
+ ///
///
public static bool operator !=(ListVoicesResponse obj1, ListVoicesResponse obj2)
{
@@ -262,7 +262,7 @@ public bool Equals(ListVoicesResponse other)
}
///
- ///
+ ///
///
public override bool Equals(object? obj)
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponseVariant2.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponseVariant2.g.cs
index c2386a2..70f0830 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponseVariant2.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.ListVoicesResponseVariant2.g.cs
@@ -4,12 +4,12 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class ListVoicesResponseVariant2
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("voices")]
public global::System.Collections.Generic.IList? Voices { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.OutputFormat.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.OutputFormat.g.cs
index 904f697..bfb3020 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.OutputFormat.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.OutputFormat.g.cs
@@ -4,28 +4,28 @@
namespace PlayHT
{
///
- ///
+ ///
///
public enum OutputFormat
{
///
- ///
+ ///
///
Flac,
///
- ///
+ ///
///
Mp3,
///
- ///
+ ///
///
Ogg,
///
- ///
+ ///
///
Pcm,
///
- ///
+ ///
///
Wav,
}
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJob.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJob.g.cs
index 7c76b98..891b2eb 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJob.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJob.g.cs
@@ -4,36 +4,36 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class SpeechJob
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("status")]
public string? Status { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("audio_url")]
public string? AudioUrl { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("output")]
public object? Output { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("error")]
public string? Error { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJobOutput.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJobOutput.g.cs
index 2415be7..8414f70 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJobOutput.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.SpeechJobOutput.g.cs
@@ -4,7 +4,7 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class SpeechJobOutput
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequest.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequest.g.cs
index 640c609..5bdf8c5 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequest.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequest.g.cs
@@ -5,12 +5,12 @@
namespace PlayHT
{
///
- ///
+ ///
///
public readonly partial struct StreamSpeechRequest : global::System.IEquatable
{
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
public global::PlayHT.CreateSpeechRequest? Create { get; init; }
@@ -19,7 +19,7 @@ namespace PlayHT
#endif
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(Create))]
@@ -27,7 +27,7 @@ namespace PlayHT
public bool IsCreate => Create != null;
///
- ///
+ ///
///
public bool TryPickCreate(
#if NET6_0_OR_GREATER
@@ -40,14 +40,14 @@ public bool TryPickCreate(
}
///
- ///
+ ///
///
public global::PlayHT.CreateSpeechRequest PickCreate() => IsCreate
? Create!
: throw new global::System.InvalidOperationException($"Expected union variant 'Create' but the value was {ToString()}.");
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
public global::PlayHT.StreamSpeechRequestVariant2? StreamSpeechRequestVariant2 { get; init; }
@@ -56,7 +56,7 @@ public bool TryPickCreate(
#endif
///
- ///
+ ///
///
#if NET6_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.MemberNotNullWhen(true, nameof(StreamSpeechRequestVariant2))]
@@ -64,7 +64,7 @@ public bool TryPickCreate(
public bool IsStreamSpeechRequestVariant2 => StreamSpeechRequestVariant2 != null;
///
- ///
+ ///
///
public bool TryPickStreamSpeechRequestVariant2(
#if NET6_0_OR_GREATER
@@ -77,23 +77,23 @@ public bool TryPickStreamSpeechRequestVariant2(
}
///
- ///
+ ///
///
public global::PlayHT.StreamSpeechRequestVariant2 PickStreamSpeechRequestVariant2() => IsStreamSpeechRequestVariant2
? StreamSpeechRequestVariant2!
: throw new global::System.InvalidOperationException($"Expected union variant 'StreamSpeechRequestVariant2' but the value was {ToString()}.");
///
- ///
+ ///
///
public static implicit operator StreamSpeechRequest(global::PlayHT.CreateSpeechRequest value) => new StreamSpeechRequest((global::PlayHT.CreateSpeechRequest?)value);
///
- ///
+ ///
///
public static implicit operator global::PlayHT.CreateSpeechRequest?(StreamSpeechRequest @this) => @this.Create;
///
- ///
+ ///
///
public StreamSpeechRequest(global::PlayHT.CreateSpeechRequest? value)
{
@@ -101,22 +101,22 @@ public StreamSpeechRequest(global::PlayHT.CreateSpeechRequest? value)
}
///
- ///
+ ///
///
public static StreamSpeechRequest FromCreate(global::PlayHT.CreateSpeechRequest? value) => new StreamSpeechRequest(value);
///
- ///
+ ///
///
public static implicit operator StreamSpeechRequest(global::PlayHT.StreamSpeechRequestVariant2 value) => new StreamSpeechRequest((global::PlayHT.StreamSpeechRequestVariant2?)value);
///
- ///
+ ///
///
public static implicit operator global::PlayHT.StreamSpeechRequestVariant2?(StreamSpeechRequest @this) => @this.StreamSpeechRequestVariant2;
///
- ///
+ ///
///
public StreamSpeechRequest(global::PlayHT.StreamSpeechRequestVariant2? value)
{
@@ -124,12 +124,12 @@ public StreamSpeechRequest(global::PlayHT.StreamSpeechRequestVariant2? value)
}
///
- ///
+ ///
///
public static StreamSpeechRequest FromStreamSpeechRequestVariant2(global::PlayHT.StreamSpeechRequestVariant2? value) => new StreamSpeechRequest(value);
///
- ///
+ ///
///
public StreamSpeechRequest(
global::PlayHT.CreateSpeechRequest? create,
@@ -141,23 +141,23 @@ public StreamSpeechRequest(
}
///
- ///
+ ///
///
public object? Object =>
StreamSpeechRequestVariant2 as object ??
- Create as object
+ Create as object
;
///
- ///
+ ///
///
public override string? ToString() =>
Create?.ToString() ??
- StreamSpeechRequestVariant2?.ToString()
+ StreamSpeechRequestVariant2?.ToString()
;
///
- ///
+ ///
///
public bool Validate()
{
@@ -165,7 +165,7 @@ public bool Validate()
}
///
- ///
+ ///
///
public TResult? Match(
global::System.Func? create = null,
@@ -190,7 +190,7 @@ public bool Validate()
}
///
- ///
+ ///
///
public void Match(
global::System.Action? create = null,
@@ -214,7 +214,7 @@ public void Match(
}
///
- ///
+ ///
///
public void Switch(
global::System.Action? create = null,
@@ -237,7 +237,7 @@ public void Switch(
}
///
- ///
+ ///
///
public override int GetHashCode()
{
@@ -258,18 +258,18 @@ static int HashCodeAggregator(int hashCode, object? value) => value == null
}
///
- ///
+ ///
///
public bool Equals(StreamSpeechRequest other)
{
return
global::System.Collections.Generic.EqualityComparer.Default.Equals(Create, other.Create) &&
- global::System.Collections.Generic.EqualityComparer.Default.Equals(StreamSpeechRequestVariant2, other.StreamSpeechRequestVariant2)
+ global::System.Collections.Generic.EqualityComparer.Default.Equals(StreamSpeechRequestVariant2, other.StreamSpeechRequestVariant2)
;
}
///
- ///
+ ///
///
public static bool operator ==(StreamSpeechRequest obj1, StreamSpeechRequest obj2)
{
@@ -277,7 +277,7 @@ public bool Equals(StreamSpeechRequest other)
}
///
- ///
+ ///
///
public static bool operator !=(StreamSpeechRequest obj1, StreamSpeechRequest obj2)
{
@@ -285,7 +285,7 @@ public bool Equals(StreamSpeechRequest other)
}
///
- ///
+ ///
///
public override bool Equals(object? obj)
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequestVariant2.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequestVariant2.g.cs
index 64a06c7..e03c07e 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequestVariant2.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.StreamSpeechRequestVariant2.g.cs
@@ -4,12 +4,12 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class StreamSpeechRequestVariant2
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("request_id")]
public string? RequestId { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.TtsModel.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.TtsModel.g.cs
index dd10b6d..8f05b64 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.TtsModel.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.TtsModel.g.cs
@@ -4,20 +4,20 @@
namespace PlayHT
{
///
- ///
+ ///
///
public enum TtsModel
{
///
- ///
+ ///
///
Play30Mini,
///
- ///
+ ///
///
PlayDialog,
///
- ///
+ ///
///
PlayDialogTurbo,
}
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.Voice.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.Voice.g.cs
index ed02a2f..9c848b2 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.Voice.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.Voice.g.cs
@@ -4,60 +4,60 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class Voice
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("id")]
public string? Id { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("name")]
public string? Name { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("voice")]
public string? Voice1 { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("language")]
public string? Language { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("language_code")]
public string? LanguageCode { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("gender")]
public string? Gender { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("accent")]
public string? Accent { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("style")]
public string? Style { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("sample_url")]
public string? SampleUrl { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponse.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponse.g.cs
index f38adb4..0acd296 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponse.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponse.g.cs
@@ -4,18 +4,18 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class WebSocketAuthResponse
{
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("webSocketUrls")]
public global::System.Collections.Generic.Dictionary? WebSocketUrls { get; set; }
///
- ///
+ ///
///
[global::System.Text.Json.Serialization.JsonPropertyName("expiresAt")]
public global::System.DateTime? ExpiresAt { get; set; }
diff --git a/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponseWebSocketUrls.g.cs b/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponseWebSocketUrls.g.cs
index 1a5fe50..2446df2 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponseWebSocketUrls.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Models.WebSocketAuthResponseWebSocketUrls.g.cs
@@ -4,7 +4,7 @@
namespace PlayHT
{
///
- ///
+ ///
///
public sealed partial class WebSocketAuthResponseWebSocketUrls
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.PathBuilder.g.cs b/src/libs/PlayHT/Generated/PlayHT.PathBuilder.g.cs
index 871243b..a474bdb 100644
--- a/src/libs/PlayHT/Generated/PlayHT.PathBuilder.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.PathBuilder.g.cs
@@ -266,32 +266,32 @@ public PathBuilder AddRawQueryString(
}
///
- ///
+ ///
///
public class EndPointAuthorization
{
///
- ///
+ ///
///
public string Type { get; set; } = string.Empty;
///
- ///
+ ///
///
public string SchemeId { get; set; } = string.Empty;
///
- ///
+ ///
///
public string Location { get; set; } = string.Empty;
///
- ///
+ ///
///
public string Name { get; set; } = string.Empty;
///
- ///
+ ///
///
public string Value { get; set; } = string.Empty;
}
diff --git a/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs
index 3a451aa..1719402 100644
--- a/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.PlayHTClient.g.cs
@@ -39,7 +39,7 @@ public sealed partial class PlayHTClient : global::PlayHT.IPlayHTClient, global:
internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::PlayHT.SourceGenerationContext.Default);
///
- ///
+ ///
///
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
@@ -49,7 +49,7 @@ public sealed partial class PlayHTClient : global::PlayHT.IPlayHTClient, global:
///
- ///
+ ///
///
public TextToSpeechClient TextToSpeech => new TextToSpeechClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
@@ -58,7 +58,7 @@ public sealed partial class PlayHTClient : global::PlayHT.IPlayHTClient, global:
};
///
- ///
+ ///
///
public VoicesClient Voices => new VoicesClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
@@ -67,7 +67,7 @@ public sealed partial class PlayHTClient : global::PlayHT.IPlayHTClient, global:
};
///
- ///
+ ///
///
public WebSocketClient WebSocket => new WebSocketClient(HttpClient, baseUri: null, authorizations: Authorizations, options: Options)
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.Polyfills.g.cs b/src/libs/PlayHT/Generated/PlayHT.Polyfills.g.cs
index d3e0d66..bf35928 100644
--- a/src/libs/PlayHT/Generated/PlayHT.Polyfills.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.Polyfills.g.cs
@@ -4,13 +4,13 @@
namespace PlayHT
{
///
- ///
+ ///
///
public static partial class AutoSdkPolyfills
{
#if !NET6_0_OR_GREATER
///
- ///
+ ///
///
///
///
@@ -23,7 +23,7 @@ public static partial class AutoSdkPolyfills
return content.ReadAsStringAsync();
}
///
- ///
+ ///
///
///
///
@@ -36,7 +36,7 @@ public static partial class AutoSdkPolyfills
return content.ReadAsStreamAsync();
}
///
- ///
+ ///
///
///
///
diff --git a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.CreateSpeech.g.cs b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.CreateSpeech.g.cs
index bc11234..d9043fe 100644
--- a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.CreateSpeech.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.CreateSpeech.g.cs
@@ -147,7 +147,7 @@ partial void ProcessCreateSpeechResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
+ }
}
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
diff --git a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.GetSpeechJob.g.cs b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.GetSpeechJob.g.cs
index 8611f75..2bdb064 100644
--- a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.GetSpeechJob.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.GetSpeechJob.g.cs
@@ -140,7 +140,7 @@ partial void ProcessGetSpeechJobResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
+ }
}
global::PlayHT.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
diff --git a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.StreamSpeech.g.cs b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.StreamSpeech.g.cs
index 5398368..dca4f52 100644
--- a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.StreamSpeech.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.StreamSpeech.g.cs
@@ -145,7 +145,7 @@ partial void ProcessStreamSpeechResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
+ }
}
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
@@ -504,7 +504,7 @@ partial void ProcessStreamSpeechResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
+ }
}
var __httpRequestContentBody = request.ToJson(JsonSerializerContext);
var __httpRequestContent = new global::System.Net.Http.StringContent(
diff --git a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs
index 40fc32d..1bae400 100644
--- a/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.TextToSpeechClient.g.cs
@@ -37,7 +37,7 @@ public sealed partial class TextToSpeechClient : global::PlayHT.ITextToSpeechCli
internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::PlayHT.SourceGenerationContext.Default);
///
- ///
+ ///
///
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.VoicesClient.ListVoices.g.cs b/src/libs/PlayHT/Generated/PlayHT.VoicesClient.ListVoices.g.cs
index d6db881..95256db 100644
--- a/src/libs/PlayHT/Generated/PlayHT.VoicesClient.ListVoices.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.VoicesClient.ListVoices.g.cs
@@ -132,7 +132,7 @@ partial void ProcessListVoicesResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
+ }
}
global::PlayHT.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
diff --git a/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs
index d1551b6..8883601 100644
--- a/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.VoicesClient.g.cs
@@ -37,7 +37,7 @@ public sealed partial class VoicesClient : global::PlayHT.IVoicesClient, global:
internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::PlayHT.SourceGenerationContext.Default);
///
- ///
+ ///
///
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{
diff --git a/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.CreateWebSocketAuth.g.cs b/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.CreateWebSocketAuth.g.cs
index b58cfed..53e0497 100644
--- a/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.CreateWebSocketAuth.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.CreateWebSocketAuth.g.cs
@@ -132,7 +132,7 @@ partial void ProcessCreateWebSocketAuthResponseContent(
__authorization.Location == "Header")
{
__httpRequest.Headers.Add(__authorization.Name, __authorization.Value);
- }
+ }
}
global::PlayHT.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
diff --git a/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs b/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs
index fa37671..d3b306d 100644
--- a/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs
+++ b/src/libs/PlayHT/Generated/PlayHT.WebSocketClient.g.cs
@@ -37,7 +37,7 @@ public sealed partial class WebSocketClient : global::PlayHT.IWebSocketClient, g
internal global::System.Lazy JsonSerializerContextProvider { get; set; } = new(() => global::PlayHT.SourceGenerationContext.Default);
///
- ///
+ ///
///
public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext
{