diff --git a/src/libs/Murf/Generated/Murf.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.JsonSerializerContext.g.cs index b03938c..172163b 100644 --- a/src/libs/Murf/Generated/Murf.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.JsonSerializerContext.g.cs @@ -109,67 +109,22 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateTokenResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateTokenResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateTokenResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/Murf/Generated/Murf.JsonSerializerContextTypes.g.cs b/src/libs/Murf/Generated/Murf.JsonSerializerContextTypes.g.cs index d378398..4e9e784 100644 --- a/src/libs/Murf/Generated/Murf.JsonSerializerContextTypes.g.cs +++ b/src/libs/Murf/Generated/Murf.JsonSerializerContextTypes.g.cs @@ -246,247 +246,67 @@ public sealed partial class JsonSerializerContextTypes /// /// /// - public global::Murf.StreamResponse2? Type52 { get; set; } + public global::Murf.GenerateResponse? Type52 { get; set; } /// /// /// - public global::Murf.StreamResponse3? Type53 { get; set; } + public global::System.Collections.Generic.IList? Type53 { get; set; } /// /// /// - public global::Murf.StreamResponse4? Type54 { get; set; } + public global::Murf.GetVoicesResponse? Type54 { get; set; } /// /// /// - public global::Murf.StreamResponse5? Type55 { get; set; } + public global::Murf.ConvertResponse? Type55 { get; set; } /// /// /// - public global::Murf.GenerateResponse? Type56 { get; set; } + public global::Murf.TranslateResponse? Type56 { get; set; } /// /// /// - public global::Murf.GenerateResponse2? Type57 { get; set; } + public global::Murf.GenerateTokenResponse? Type57 { get; set; } /// /// /// - public global::Murf.GenerateResponse3? Type58 { get; set; } + public global::System.Collections.Generic.IList? Type58 { get; set; } /// /// /// - public global::Murf.GenerateResponse4? Type59 { get; set; } + public global::Murf.ListDestinationLanguagesResponse? Type59 { get; set; } /// /// /// - public global::Murf.GenerateResponse5? Type60 { get; set; } + public global::System.Collections.Generic.IList? Type60 { get; set; } /// /// /// - public global::System.Collections.Generic.IList? Type61 { get; set; } + public global::Murf.ListSourceLanguagesResponse? Type61 { get; set; } /// /// /// - public global::Murf.GetVoicesResponse? Type62 { get; set; } + public global::Murf.CreateDubbingJobResponse? Type62 { get; set; } /// /// /// - public global::Murf.GetVoicesResponse2? Type63 { get; set; } + public global::Murf.CreateDubbingJobWithProjectIdResponse? Type63 { get; set; } /// /// /// - public global::Murf.GetVoicesResponse3? Type64 { get; set; } + public global::Murf.GetStatusResponse? Type64 { get; set; } /// /// /// - public global::Murf.GetVoicesResponse4? Type65 { get; set; } + public global::Murf.CreateDubbingProjectResponse? Type65 { get; set; } /// /// /// - public global::Murf.ConvertResponse? Type66 { get; set; } + public global::Murf.ListResponse? Type66 { get; set; } /// /// /// - public global::Murf.ConvertResponse2? Type67 { get; set; } - /// - /// - /// - public global::Murf.ConvertResponse3? Type68 { get; set; } - /// - /// - /// - public global::Murf.ConvertResponse4? Type69 { get; set; } - /// - /// - /// - public global::Murf.ConvertResponse5? Type70 { get; set; } - /// - /// - /// - public global::Murf.TranslateResponse? Type71 { get; set; } - /// - /// - /// - public global::Murf.TranslateResponse2? Type72 { get; set; } - /// - /// - /// - public global::Murf.TranslateResponse3? Type73 { get; set; } - /// - /// - /// - public global::Murf.TranslateResponse4? Type74 { get; set; } - /// - /// - /// - public global::Murf.TranslateResponse5? Type75 { get; set; } - /// - /// - /// - public global::Murf.GenerateTokenResponse? Type76 { get; set; } - /// - /// - /// - public global::Murf.GenerateTokenResponse2? Type77 { get; set; } - /// - /// - /// - public global::Murf.GenerateTokenResponse3? Type78 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type79 { get; set; } - /// - /// - /// - public global::Murf.ListDestinationLanguagesResponse? Type80 { get; set; } - /// - /// - /// - public global::Murf.ListDestinationLanguagesResponse2? Type81 { get; set; } - /// - /// - /// - public global::Murf.ListDestinationLanguagesResponse3? Type82 { get; set; } - /// - /// - /// - public global::Murf.ListDestinationLanguagesResponse4? Type83 { get; set; } - /// - /// - /// - public global::System.Collections.Generic.IList? Type84 { get; set; } - /// - /// - /// - public global::Murf.ListSourceLanguagesResponse? Type85 { get; set; } - /// - /// - /// - public global::Murf.ListSourceLanguagesResponse2? Type86 { get; set; } - /// - /// - /// - public global::Murf.ListSourceLanguagesResponse3? Type87 { get; set; } - /// - /// - /// - public global::Murf.ListSourceLanguagesResponse4? Type88 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobResponse? Type89 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobResponse2? Type90 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobResponse3? Type91 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobResponse4? Type92 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobWithProjectIdResponse? Type93 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobWithProjectIdResponse2? Type94 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobWithProjectIdResponse3? Type95 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingJobWithProjectIdResponse4? Type96 { get; set; } - /// - /// - /// - public global::Murf.GetStatusResponse? Type97 { get; set; } - /// - /// - /// - public global::Murf.GetStatusResponse2? Type98 { get; set; } - /// - /// - /// - public global::Murf.GetStatusResponse3? Type99 { get; set; } - /// - /// - /// - public global::Murf.GetStatusResponse4? Type100 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingProjectResponse? Type101 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingProjectResponse2? Type102 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingProjectResponse3? Type103 { get; set; } - /// - /// - /// - public global::Murf.CreateDubbingProjectResponse4? Type104 { get; set; } - /// - /// - /// - public global::Murf.ListResponse? Type105 { get; set; } - /// - /// - /// - public global::Murf.ListResponse2? Type106 { get; set; } - /// - /// - /// - public global::Murf.ListResponse3? Type107 { get; set; } - /// - /// - /// - public global::Murf.ListResponse4? Type108 { get; set; } - /// - /// - /// - public global::Murf.UpdateResponse? Type109 { get; set; } - /// - /// - /// - public global::Murf.UpdateResponse2? Type110 { get; set; } - /// - /// - /// - public global::Murf.UpdateResponse3? Type111 { get; set; } - /// - /// - /// - public global::Murf.UpdateResponse4? Type112 { get; set; } + public global::Murf.UpdateResponse? Type67 { get; set; } /// /// diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse2.Json.g.cs deleted file mode 100644 index 01d7584..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ConvertResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ConvertResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ConvertResponse2), - jsonSerializerContext) as global::Murf.ConvertResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ConvertResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ConvertResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ConvertResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ConvertResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse2.g.cs deleted file mode 100644 index 9ba2be0..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ConvertResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ConvertResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ConvertResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse3.Json.g.cs deleted file mode 100644 index 984d2ff..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ConvertResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ConvertResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ConvertResponse3), - jsonSerializerContext) as global::Murf.ConvertResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ConvertResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ConvertResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ConvertResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ConvertResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse3.g.cs deleted file mode 100644 index 095551c..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ConvertResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ConvertResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ConvertResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse4.Json.g.cs deleted file mode 100644 index fd3fc62..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ConvertResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ConvertResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ConvertResponse4), - jsonSerializerContext) as global::Murf.ConvertResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ConvertResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ConvertResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ConvertResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ConvertResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse4.g.cs deleted file mode 100644 index 2d95dce..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ConvertResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ConvertResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ConvertResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse5.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse5.Json.g.cs deleted file mode 100644 index ff46d46..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ConvertResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ConvertResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ConvertResponse5), - jsonSerializerContext) as global::Murf.ConvertResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ConvertResponse5? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ConvertResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ConvertResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ConvertResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ConvertResponse5.g.cs b/src/libs/Murf/Generated/Murf.Models.ConvertResponse5.g.cs deleted file mode 100644 index cd56323..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ConvertResponse5.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ConvertResponse5 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ConvertResponse5( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ConvertResponse5() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse2.Json.g.cs deleted file mode 100644 index 0462524..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingJobResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingJobResponse2), - jsonSerializerContext) as global::Murf.CreateDubbingJobResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingJobResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingJobResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingJobResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse2.g.cs deleted file mode 100644 index 7de71c1..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingJobResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingJobResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingJobResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse3.Json.g.cs deleted file mode 100644 index 25f5c8f..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingJobResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingJobResponse3), - jsonSerializerContext) as global::Murf.CreateDubbingJobResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingJobResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingJobResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingJobResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse3.g.cs deleted file mode 100644 index abf7a79..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingJobResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingJobResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingJobResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse4.Json.g.cs deleted file mode 100644 index d55a4d6..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingJobResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingJobResponse4), - jsonSerializerContext) as global::Murf.CreateDubbingJobResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingJobResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingJobResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingJobResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse4.g.cs deleted file mode 100644 index e88b6b7..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingJobResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingJobResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingJobResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse2.Json.g.cs deleted file mode 100644 index 8ea5722..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingJobWithProjectIdResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobWithProjectIdResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingJobWithProjectIdResponse2), - jsonSerializerContext) as global::Murf.CreateDubbingJobWithProjectIdResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobWithProjectIdResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingJobWithProjectIdResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingJobWithProjectIdResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingJobWithProjectIdResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse2.g.cs deleted file mode 100644 index 70e369f..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingJobWithProjectIdResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingJobWithProjectIdResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingJobWithProjectIdResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse3.Json.g.cs deleted file mode 100644 index c426a7f..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingJobWithProjectIdResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobWithProjectIdResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingJobWithProjectIdResponse3), - jsonSerializerContext) as global::Murf.CreateDubbingJobWithProjectIdResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobWithProjectIdResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingJobWithProjectIdResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingJobWithProjectIdResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingJobWithProjectIdResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse3.g.cs deleted file mode 100644 index 3b08085..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingJobWithProjectIdResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingJobWithProjectIdResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingJobWithProjectIdResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse4.Json.g.cs deleted file mode 100644 index ceecb3c..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingJobWithProjectIdResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobWithProjectIdResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingJobWithProjectIdResponse4), - jsonSerializerContext) as global::Murf.CreateDubbingJobWithProjectIdResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingJobWithProjectIdResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingJobWithProjectIdResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingJobWithProjectIdResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingJobWithProjectIdResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse4.g.cs deleted file mode 100644 index 3d9d568..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingJobWithProjectIdResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingJobWithProjectIdResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingJobWithProjectIdResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingJobWithProjectIdResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse2.Json.g.cs deleted file mode 100644 index f1bb46a..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingProjectResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingProjectResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingProjectResponse2), - jsonSerializerContext) as global::Murf.CreateDubbingProjectResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingProjectResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingProjectResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingProjectResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingProjectResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse2.g.cs deleted file mode 100644 index 745cce0..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingProjectResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingProjectResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingProjectResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse3.Json.g.cs deleted file mode 100644 index dee0d51..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingProjectResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingProjectResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingProjectResponse3), - jsonSerializerContext) as global::Murf.CreateDubbingProjectResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingProjectResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingProjectResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingProjectResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingProjectResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse3.g.cs deleted file mode 100644 index 3900539..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingProjectResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingProjectResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingProjectResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse4.Json.g.cs deleted file mode 100644 index 7099bef..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class CreateDubbingProjectResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.CreateDubbingProjectResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.CreateDubbingProjectResponse4), - jsonSerializerContext) as global::Murf.CreateDubbingProjectResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.CreateDubbingProjectResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.CreateDubbingProjectResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.CreateDubbingProjectResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.CreateDubbingProjectResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse4.g.cs deleted file mode 100644 index 44678c2..0000000 --- a/src/libs/Murf/Generated/Murf.Models.CreateDubbingProjectResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class CreateDubbingProjectResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public CreateDubbingProjectResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public CreateDubbingProjectResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse2.Json.g.cs deleted file mode 100644 index 7fdd2ed..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GenerateResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GenerateResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GenerateResponse2), - jsonSerializerContext) as global::Murf.GenerateResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GenerateResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GenerateResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GenerateResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GenerateResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse2.g.cs deleted file mode 100644 index 311599e..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GenerateResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse3.Json.g.cs deleted file mode 100644 index e514673..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GenerateResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GenerateResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GenerateResponse3), - jsonSerializerContext) as global::Murf.GenerateResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GenerateResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GenerateResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GenerateResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GenerateResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse3.g.cs deleted file mode 100644 index b16302e..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GenerateResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse4.Json.g.cs deleted file mode 100644 index c159a01..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GenerateResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GenerateResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GenerateResponse4), - jsonSerializerContext) as global::Murf.GenerateResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GenerateResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GenerateResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GenerateResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GenerateResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse4.g.cs deleted file mode 100644 index 875b093..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GenerateResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse5.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse5.Json.g.cs deleted file mode 100644 index c8562e8..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GenerateResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GenerateResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GenerateResponse5), - jsonSerializerContext) as global::Murf.GenerateResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GenerateResponse5? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GenerateResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GenerateResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GenerateResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateResponse5.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateResponse5.g.cs deleted file mode 100644 index e288ecd..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateResponse5.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GenerateResponse5 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateResponse5( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateResponse5() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse2.Json.g.cs deleted file mode 100644 index 06b287b..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GenerateTokenResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GenerateTokenResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GenerateTokenResponse2), - jsonSerializerContext) as global::Murf.GenerateTokenResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GenerateTokenResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GenerateTokenResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GenerateTokenResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GenerateTokenResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse2.g.cs deleted file mode 100644 index a10a871..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GenerateTokenResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateTokenResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateTokenResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse3.Json.g.cs deleted file mode 100644 index dbcdcd1..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GenerateTokenResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GenerateTokenResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GenerateTokenResponse3), - jsonSerializerContext) as global::Murf.GenerateTokenResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GenerateTokenResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GenerateTokenResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GenerateTokenResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GenerateTokenResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse3.g.cs deleted file mode 100644 index bfc2271..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GenerateTokenResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GenerateTokenResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GenerateTokenResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GenerateTokenResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GetStatusResponse2.Json.g.cs deleted file mode 100644 index f8ae7ea..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GetStatusResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GetStatusResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GetStatusResponse2), - jsonSerializerContext) as global::Murf.GetStatusResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GetStatusResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GetStatusResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GetStatusResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GetStatusResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.GetStatusResponse2.g.cs deleted file mode 100644 index 0e7f0c4..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GetStatusResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GetStatusResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GetStatusResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GetStatusResponse3.Json.g.cs deleted file mode 100644 index 73c4add..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GetStatusResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GetStatusResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GetStatusResponse3), - jsonSerializerContext) as global::Murf.GetStatusResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GetStatusResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GetStatusResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GetStatusResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GetStatusResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.GetStatusResponse3.g.cs deleted file mode 100644 index c0ffb35..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GetStatusResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GetStatusResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GetStatusResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GetStatusResponse4.Json.g.cs deleted file mode 100644 index ad5006f..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GetStatusResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GetStatusResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GetStatusResponse4), - jsonSerializerContext) as global::Murf.GetStatusResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GetStatusResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GetStatusResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GetStatusResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GetStatusResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.GetStatusResponse4.g.cs deleted file mode 100644 index bb14628..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetStatusResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GetStatusResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GetStatusResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GetStatusResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse2.Json.g.cs deleted file mode 100644 index 1bd3c61..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GetVoicesResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GetVoicesResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GetVoicesResponse2), - jsonSerializerContext) as global::Murf.GetVoicesResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GetVoicesResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GetVoicesResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GetVoicesResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GetVoicesResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse2.g.cs deleted file mode 100644 index 0b36649..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GetVoicesResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GetVoicesResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GetVoicesResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse3.Json.g.cs deleted file mode 100644 index d80c8c0..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GetVoicesResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GetVoicesResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GetVoicesResponse3), - jsonSerializerContext) as global::Murf.GetVoicesResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GetVoicesResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GetVoicesResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GetVoicesResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GetVoicesResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse3.g.cs deleted file mode 100644 index 9e56168..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GetVoicesResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GetVoicesResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GetVoicesResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse4.Json.g.cs deleted file mode 100644 index 6289c10..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class GetVoicesResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.GetVoicesResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.GetVoicesResponse4), - jsonSerializerContext) as global::Murf.GetVoicesResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.GetVoicesResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.GetVoicesResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.GetVoicesResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.GetVoicesResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse4.g.cs deleted file mode 100644 index 100af83..0000000 --- a/src/libs/Murf/Generated/Murf.Models.GetVoicesResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class GetVoicesResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public GetVoicesResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public GetVoicesResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse2.Json.g.cs deleted file mode 100644 index 6c1f273..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListDestinationLanguagesResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListDestinationLanguagesResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListDestinationLanguagesResponse2), - jsonSerializerContext) as global::Murf.ListDestinationLanguagesResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListDestinationLanguagesResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListDestinationLanguagesResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListDestinationLanguagesResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListDestinationLanguagesResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse2.g.cs deleted file mode 100644 index c3f8edf..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListDestinationLanguagesResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListDestinationLanguagesResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListDestinationLanguagesResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse3.Json.g.cs deleted file mode 100644 index 89e0c29..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListDestinationLanguagesResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListDestinationLanguagesResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListDestinationLanguagesResponse3), - jsonSerializerContext) as global::Murf.ListDestinationLanguagesResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListDestinationLanguagesResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListDestinationLanguagesResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListDestinationLanguagesResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListDestinationLanguagesResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse3.g.cs deleted file mode 100644 index 24a00e1..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListDestinationLanguagesResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListDestinationLanguagesResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListDestinationLanguagesResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse4.Json.g.cs deleted file mode 100644 index 6c6602c..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListDestinationLanguagesResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListDestinationLanguagesResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListDestinationLanguagesResponse4), - jsonSerializerContext) as global::Murf.ListDestinationLanguagesResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListDestinationLanguagesResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListDestinationLanguagesResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListDestinationLanguagesResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListDestinationLanguagesResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse4.g.cs deleted file mode 100644 index 57a9b83..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListDestinationLanguagesResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListDestinationLanguagesResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListDestinationLanguagesResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListDestinationLanguagesResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListResponse2.Json.g.cs deleted file mode 100644 index b6c40e8..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListResponse2), - jsonSerializerContext) as global::Murf.ListResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.ListResponse2.g.cs deleted file mode 100644 index 39aa625..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListResponse3.Json.g.cs deleted file mode 100644 index 9065a1e..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListResponse3), - jsonSerializerContext) as global::Murf.ListResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.ListResponse3.g.cs deleted file mode 100644 index 12ba286..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListResponse4.Json.g.cs deleted file mode 100644 index bf80e53..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListResponse4), - jsonSerializerContext) as global::Murf.ListResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.ListResponse4.g.cs deleted file mode 100644 index f54d1c0..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse2.Json.g.cs deleted file mode 100644 index 695ae33..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListSourceLanguagesResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListSourceLanguagesResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListSourceLanguagesResponse2), - jsonSerializerContext) as global::Murf.ListSourceLanguagesResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListSourceLanguagesResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListSourceLanguagesResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListSourceLanguagesResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListSourceLanguagesResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse2.g.cs deleted file mode 100644 index 10ddef5..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListSourceLanguagesResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListSourceLanguagesResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListSourceLanguagesResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse3.Json.g.cs deleted file mode 100644 index c1f4028..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListSourceLanguagesResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListSourceLanguagesResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListSourceLanguagesResponse3), - jsonSerializerContext) as global::Murf.ListSourceLanguagesResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListSourceLanguagesResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListSourceLanguagesResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListSourceLanguagesResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListSourceLanguagesResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse3.g.cs deleted file mode 100644 index f7945f6..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListSourceLanguagesResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListSourceLanguagesResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListSourceLanguagesResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse4.Json.g.cs deleted file mode 100644 index 799ba6c..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class ListSourceLanguagesResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.ListSourceLanguagesResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.ListSourceLanguagesResponse4), - jsonSerializerContext) as global::Murf.ListSourceLanguagesResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.ListSourceLanguagesResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.ListSourceLanguagesResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.ListSourceLanguagesResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.ListSourceLanguagesResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse4.g.cs deleted file mode 100644 index 7eb37fa..0000000 --- a/src/libs/Murf/Generated/Murf.Models.ListSourceLanguagesResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class ListSourceLanguagesResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public ListSourceLanguagesResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public ListSourceLanguagesResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse2.Json.g.cs deleted file mode 100644 index c471763..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class StreamResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.StreamResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.StreamResponse2), - jsonSerializerContext) as global::Murf.StreamResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.StreamResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.StreamResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.StreamResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.StreamResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse2.g.cs deleted file mode 100644 index 8d9f075..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class StreamResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public StreamResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public StreamResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse3.Json.g.cs deleted file mode 100644 index 3baa829..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class StreamResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.StreamResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.StreamResponse3), - jsonSerializerContext) as global::Murf.StreamResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.StreamResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.StreamResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.StreamResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.StreamResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse3.g.cs deleted file mode 100644 index 31a710d..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class StreamResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public StreamResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public StreamResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse4.Json.g.cs deleted file mode 100644 index 8ec89df..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class StreamResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.StreamResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.StreamResponse4), - jsonSerializerContext) as global::Murf.StreamResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.StreamResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.StreamResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.StreamResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.StreamResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse4.g.cs deleted file mode 100644 index ea7f65b..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class StreamResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public StreamResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public StreamResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse5.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse5.Json.g.cs deleted file mode 100644 index 7c8832c..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class StreamResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.StreamResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.StreamResponse5), - jsonSerializerContext) as global::Murf.StreamResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.StreamResponse5? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.StreamResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.StreamResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.StreamResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.StreamResponse5.g.cs b/src/libs/Murf/Generated/Murf.Models.StreamResponse5.g.cs deleted file mode 100644 index 6eeeac8..0000000 --- a/src/libs/Murf/Generated/Murf.Models.StreamResponse5.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class StreamResponse5 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public StreamResponse5( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public StreamResponse5() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse2.Json.g.cs deleted file mode 100644 index 6be72f0..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class TranslateResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.TranslateResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.TranslateResponse2), - jsonSerializerContext) as global::Murf.TranslateResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.TranslateResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.TranslateResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.TranslateResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.TranslateResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse2.g.cs deleted file mode 100644 index 44d4238..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class TranslateResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public TranslateResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public TranslateResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse3.Json.g.cs deleted file mode 100644 index a7170bc..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class TranslateResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.TranslateResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.TranslateResponse3), - jsonSerializerContext) as global::Murf.TranslateResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.TranslateResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.TranslateResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.TranslateResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.TranslateResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse3.g.cs deleted file mode 100644 index 48a1a09..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class TranslateResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public TranslateResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public TranslateResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse4.Json.g.cs deleted file mode 100644 index cad268d..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class TranslateResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.TranslateResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.TranslateResponse4), - jsonSerializerContext) as global::Murf.TranslateResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.TranslateResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.TranslateResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.TranslateResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.TranslateResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse4.g.cs deleted file mode 100644 index 12c7b90..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class TranslateResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public TranslateResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public TranslateResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse5.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse5.Json.g.cs deleted file mode 100644 index 8205f1d..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse5.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class TranslateResponse5 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.TranslateResponse5? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.TranslateResponse5), - jsonSerializerContext) as global::Murf.TranslateResponse5; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.TranslateResponse5? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.TranslateResponse5? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.TranslateResponse5), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.TranslateResponse5; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.TranslateResponse5.g.cs b/src/libs/Murf/Generated/Murf.Models.TranslateResponse5.g.cs deleted file mode 100644 index c7ded13..0000000 --- a/src/libs/Murf/Generated/Murf.Models.TranslateResponse5.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class TranslateResponse5 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public TranslateResponse5( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public TranslateResponse5() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.UpdateResponse2.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.UpdateResponse2.Json.g.cs deleted file mode 100644 index 96bd1ee..0000000 --- a/src/libs/Murf/Generated/Murf.Models.UpdateResponse2.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class UpdateResponse2 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.UpdateResponse2? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.UpdateResponse2), - jsonSerializerContext) as global::Murf.UpdateResponse2; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.UpdateResponse2? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.UpdateResponse2? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.UpdateResponse2), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.UpdateResponse2; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.UpdateResponse2.g.cs b/src/libs/Murf/Generated/Murf.Models.UpdateResponse2.g.cs deleted file mode 100644 index 5208c9f..0000000 --- a/src/libs/Murf/Generated/Murf.Models.UpdateResponse2.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class UpdateResponse2 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public UpdateResponse2( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public UpdateResponse2() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.UpdateResponse3.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.UpdateResponse3.Json.g.cs deleted file mode 100644 index c7f6a12..0000000 --- a/src/libs/Murf/Generated/Murf.Models.UpdateResponse3.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class UpdateResponse3 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.UpdateResponse3? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.UpdateResponse3), - jsonSerializerContext) as global::Murf.UpdateResponse3; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.UpdateResponse3? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.UpdateResponse3? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.UpdateResponse3), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.UpdateResponse3; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.UpdateResponse3.g.cs b/src/libs/Murf/Generated/Murf.Models.UpdateResponse3.g.cs deleted file mode 100644 index 825159e..0000000 --- a/src/libs/Murf/Generated/Murf.Models.UpdateResponse3.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class UpdateResponse3 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public UpdateResponse3( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public UpdateResponse3() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.Models.UpdateResponse4.Json.g.cs b/src/libs/Murf/Generated/Murf.Models.UpdateResponse4.Json.g.cs deleted file mode 100644 index 6e850af..0000000 --- a/src/libs/Murf/Generated/Murf.Models.UpdateResponse4.Json.g.cs +++ /dev/null @@ -1,141 +0,0 @@ -#nullable enable - -namespace Murf -{ - public sealed partial class UpdateResponse4 - { - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerContext. - /// - public string ToJson( - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Serialize( - this, - this.GetType(), - jsonSerializerContext); - } - - /// - /// Serializes the current instance to a JSON string using the generated default JsonSerializerContext. - /// - public string ToJson() - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - /// - /// Serializes the current instance to a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public string ToJson( - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return ToJson(global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Serialize( - this, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerContext. - /// - public static global::Murf.UpdateResponse4? FromJson( - string json, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - typeof(global::Murf.UpdateResponse4), - jsonSerializerContext) as global::Murf.UpdateResponse4; - } - - /// - /// Deserializes a JSON string using the generated default JsonSerializerContext. - /// - public static global::Murf.UpdateResponse4? FromJson( - string json) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON string using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::Murf.UpdateResponse4? FromJson( - string json, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJson( - json, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.Deserialize( - json, - jsonSerializerOptions); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerContext. - /// - public static async global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext) - { - return (await global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - typeof(global::Murf.UpdateResponse4), - jsonSerializerContext).ConfigureAwait(false)) as global::Murf.UpdateResponse4; - } - - /// - /// Deserializes a JSON stream using the generated default JsonSerializerContext. - /// - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - /// - /// Deserializes a JSON stream using the provided JsonSerializerOptions. - /// -#if NET8_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("JSON serialization and deserialization might require types that cannot be statically analyzed. Use the overload that takes a JsonTypeInfo or JsonSerializerContext, or make sure all of the required types are preserved.")] - [global::System.Diagnostics.CodeAnalysis.RequiresDynamicCode("JSON serialization and deserialization might require types that cannot be statically analyzed and might need runtime code generation. Use System.Text.Json source generation for native AOT applications.")] -#endif - public static global::System.Threading.Tasks.ValueTask FromJsonStreamAsync( - global::System.IO.Stream jsonStream, - global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null) - { - if (jsonSerializerOptions is null) - { - return FromJsonStreamAsync( - jsonStream, - global::Murf.SourceGenerationContext.Default); - } - - return global::System.Text.Json.JsonSerializer.DeserializeAsync( - jsonStream, - jsonSerializerOptions); - } - } -} diff --git a/src/libs/Murf/Generated/Murf.Models.UpdateResponse4.g.cs b/src/libs/Murf/Generated/Murf.Models.UpdateResponse4.g.cs deleted file mode 100644 index ee6de9c..0000000 --- a/src/libs/Murf/Generated/Murf.Models.UpdateResponse4.g.cs +++ /dev/null @@ -1,53 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - public sealed partial class UpdateResponse4 - { - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_message")] - public string? ErrorMessage { get; set; } - - /// - /// - /// - [global::System.Text.Json.Serialization.JsonPropertyName("error_code")] - public int? ErrorCode { get; set; } - - /// - /// Additional properties that are not explicitly defined in the schema - /// - [global::System.Text.Json.Serialization.JsonExtensionData] - public global::System.Collections.Generic.IDictionary AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary(); - - /// - /// Initializes a new instance of the class. - /// - /// - /// -#if NET7_0_OR_GREATER - [global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers] -#endif - public UpdateResponse4( - string? errorMessage, - int? errorCode) - { - this.ErrorMessage = errorMessage; - this.ErrorCode = errorCode; - } - - /// - /// Initializes a new instance of the class. - /// - public UpdateResponse4() - { - } - - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.SubpackageAuth.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageAuth.JsonSerializerContext.g.cs index 21448e9..8d2941f 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageAuth.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageAuth.JsonSerializerContext.g.cs @@ -19,8 +19,6 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(long))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.AuthTokenResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateTokenResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateTokenResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateTokenResponse3))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(long?))] internal sealed partial class SubpackageAuthSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext diff --git a/src/libs/Murf/Generated/Murf.SubpackageAuthClient.GenerateToken.g.cs b/src/libs/Murf/Generated/Murf.SubpackageAuthClient.GenerateToken.g.cs index 288db92..0574ba2 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageAuthClient.GenerateToken.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageAuthClient.GenerateToken.g.cs @@ -359,19 +359,19 @@ partial void ProcessGenerateTokenResponseContent( { string? __content_401 = null; global::System.Exception? __exception_401 = null; - global::Murf.GenerateTokenResponse2? __value_401 = null; + global::Murf.GenerateTokenResponse? __value_401 = null; try { if (__effectiveReadResponseAsString) { __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_401 = global::Murf.GenerateTokenResponse2.FromJson(__content_401, JsonSerializerContext); + __value_401 = global::Murf.GenerateTokenResponse.FromJson(__content_401, JsonSerializerContext); } else { __content_401 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_401 = global::Murf.GenerateTokenResponse2.FromJson(__content_401, JsonSerializerContext); + __value_401 = global::Murf.GenerateTokenResponse.FromJson(__content_401, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -380,7 +380,7 @@ partial void ProcessGenerateTokenResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_401 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_401, @@ -396,19 +396,19 @@ partial void ProcessGenerateTokenResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.GenerateTokenResponse3? __value_503 = null; + global::Murf.GenerateTokenResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GenerateTokenResponse3.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GenerateTokenResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GenerateTokenResponse3.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GenerateTokenResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -417,7 +417,7 @@ partial void ProcessGenerateTokenResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobs.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobs.JsonSerializerContext.g.cs index 6faf06b..6bcfd7b 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobs.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobs.JsonSerializerContext.g.cs @@ -30,17 +30,8 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingJobWithProjectIdResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetStatusResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(long?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.V1MurfdubJobsCreatePostRequestBodyContentMultipartFormDataSchemaPriority?), TypeInfoPropertyName = "NullableV1MurfdubJobsCreatePostRequestBodyContentMultipartFormDataSchemaPriority2")] diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJob.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJob.g.cs index 2b4f412..c12f30b 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJob.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJob.g.cs @@ -470,19 +470,19 @@ request.FileName is null { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.CreateDubbingJobResponse2? __value_403 = null; + global::Murf.CreateDubbingJobResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.CreateDubbingJobResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.CreateDubbingJobResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.CreateDubbingJobResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.CreateDubbingJobResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -491,7 +491,7 @@ request.FileName is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -507,19 +507,19 @@ request.FileName is null { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.CreateDubbingJobResponse3? __value_500 = null; + global::Murf.CreateDubbingJobResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.CreateDubbingJobResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.CreateDubbingJobResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.CreateDubbingJobResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.CreateDubbingJobResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -528,7 +528,7 @@ request.FileName is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -544,19 +544,19 @@ request.FileName is null { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.CreateDubbingJobResponse4? __value_503 = null; + global::Murf.CreateDubbingJobResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.CreateDubbingJobResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.CreateDubbingJobResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.CreateDubbingJobResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.CreateDubbingJobResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -565,7 +565,7 @@ request.FileName is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJobWithProjectId.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJobWithProjectId.g.cs index 12d9fd7..6702ff7 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJobWithProjectId.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.CreateDubbingJobWithProjectId.g.cs @@ -462,19 +462,19 @@ request.FileName is null { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.CreateDubbingJobWithProjectIdResponse2? __value_403 = null; + global::Murf.CreateDubbingJobWithProjectIdResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.CreateDubbingJobWithProjectIdResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.CreateDubbingJobWithProjectIdResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.CreateDubbingJobWithProjectIdResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.CreateDubbingJobWithProjectIdResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -483,7 +483,7 @@ request.FileName is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -499,19 +499,19 @@ request.FileName is null { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.CreateDubbingJobWithProjectIdResponse3? __value_500 = null; + global::Murf.CreateDubbingJobWithProjectIdResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.CreateDubbingJobWithProjectIdResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.CreateDubbingJobWithProjectIdResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.CreateDubbingJobWithProjectIdResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.CreateDubbingJobWithProjectIdResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -520,7 +520,7 @@ request.FileName is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -536,19 +536,19 @@ request.FileName is null { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.CreateDubbingJobWithProjectIdResponse4? __value_503 = null; + global::Murf.CreateDubbingJobWithProjectIdResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.CreateDubbingJobWithProjectIdResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.CreateDubbingJobWithProjectIdResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.CreateDubbingJobWithProjectIdResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.CreateDubbingJobWithProjectIdResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -557,7 +557,7 @@ request.FileName is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.GetStatus.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.GetStatus.g.cs index 689e260..0d2d63e 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.GetStatus.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingJobsClient.GetStatus.g.cs @@ -366,19 +366,19 @@ partial void ProcessGetStatusResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.GetStatusResponse2? __value_403 = null; + global::Murf.GetStatusResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.GetStatusResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.GetStatusResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.GetStatusResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.GetStatusResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -387,7 +387,7 @@ partial void ProcessGetStatusResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -403,19 +403,19 @@ partial void ProcessGetStatusResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.GetStatusResponse3? __value_500 = null; + global::Murf.GetStatusResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.GetStatusResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.GetStatusResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.GetStatusResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.GetStatusResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -424,7 +424,7 @@ partial void ProcessGetStatusResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -440,19 +440,19 @@ partial void ProcessGetStatusResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.GetStatusResponse4? __value_503 = null; + global::Murf.GetStatusResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GetStatusResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GetStatusResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GetStatusResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GetStatusResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -461,7 +461,7 @@ partial void ProcessGetStatusResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguages.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguages.JsonSerializerContext.g.cs index 0271f76..f1f68ca 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguages.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguages.JsonSerializerContext.g.cs @@ -22,14 +22,8 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.SourceLocaleResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListDestinationLanguagesResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListSourceLanguagesResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.LocaleResponseSupportsItems?), TypeInfoPropertyName = "NullableLocaleResponseSupportsItems2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListDestinationLanguages.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListDestinationLanguages.g.cs index b5a8945..930285b 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListDestinationLanguages.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListDestinationLanguages.g.cs @@ -357,19 +357,19 @@ partial void ProcessListDestinationLanguagesResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.ListDestinationLanguagesResponse2? __value_403 = null; + global::Murf.ListDestinationLanguagesResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ListDestinationLanguagesResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ListDestinationLanguagesResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ListDestinationLanguagesResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ListDestinationLanguagesResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -378,7 +378,7 @@ partial void ProcessListDestinationLanguagesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -394,19 +394,19 @@ partial void ProcessListDestinationLanguagesResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.ListDestinationLanguagesResponse3? __value_500 = null; + global::Murf.ListDestinationLanguagesResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ListDestinationLanguagesResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ListDestinationLanguagesResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ListDestinationLanguagesResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ListDestinationLanguagesResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -415,7 +415,7 @@ partial void ProcessListDestinationLanguagesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -431,19 +431,19 @@ partial void ProcessListDestinationLanguagesResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.ListDestinationLanguagesResponse4? __value_503 = null; + global::Murf.ListDestinationLanguagesResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ListDestinationLanguagesResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ListDestinationLanguagesResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ListDestinationLanguagesResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ListDestinationLanguagesResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -452,7 +452,7 @@ partial void ProcessListDestinationLanguagesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListSourceLanguages.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListSourceLanguages.g.cs index 785e63c..0df46ca 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListSourceLanguages.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingLanguagesClient.ListSourceLanguages.g.cs @@ -357,19 +357,19 @@ partial void ProcessListSourceLanguagesResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.ListSourceLanguagesResponse2? __value_403 = null; + global::Murf.ListSourceLanguagesResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ListSourceLanguagesResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ListSourceLanguagesResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ListSourceLanguagesResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ListSourceLanguagesResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -378,7 +378,7 @@ partial void ProcessListSourceLanguagesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -394,19 +394,19 @@ partial void ProcessListSourceLanguagesResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.ListSourceLanguagesResponse3? __value_500 = null; + global::Murf.ListSourceLanguagesResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ListSourceLanguagesResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ListSourceLanguagesResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ListSourceLanguagesResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ListSourceLanguagesResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -415,7 +415,7 @@ partial void ProcessListSourceLanguagesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -431,19 +431,19 @@ partial void ProcessListSourceLanguagesResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.ListSourceLanguagesResponse4? __value_503 = null; + global::Murf.ListSourceLanguagesResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ListSourceLanguagesResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ListSourceLanguagesResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ListSourceLanguagesResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ListSourceLanguagesResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -452,7 +452,7 @@ partial void ProcessListSourceLanguagesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjects.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjects.JsonSerializerContext.g.cs index 67519ea..97c2b3d 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjects.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjects.JsonSerializerContext.g.cs @@ -25,17 +25,8 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ApiUpdateProjectRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.CreateDubbingProjectResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ListResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.UpdateResponse4))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ApiCreateProjectRequestDubbingType?), TypeInfoPropertyName = "NullableApiCreateProjectRequestDubbingType2")] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ApiProjectResponseDubbingType?), TypeInfoPropertyName = "NullableApiProjectResponseDubbingType2")] diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.CreateDubbingProject.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.CreateDubbingProject.g.cs index 303346f..28cdac4 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.CreateDubbingProject.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.CreateDubbingProject.g.cs @@ -377,19 +377,19 @@ partial void ProcessCreateDubbingProjectResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.CreateDubbingProjectResponse2? __value_403 = null; + global::Murf.CreateDubbingProjectResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.CreateDubbingProjectResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.CreateDubbingProjectResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.CreateDubbingProjectResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.CreateDubbingProjectResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -398,7 +398,7 @@ partial void ProcessCreateDubbingProjectResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -414,19 +414,19 @@ partial void ProcessCreateDubbingProjectResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.CreateDubbingProjectResponse3? __value_500 = null; + global::Murf.CreateDubbingProjectResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.CreateDubbingProjectResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.CreateDubbingProjectResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.CreateDubbingProjectResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.CreateDubbingProjectResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -435,7 +435,7 @@ partial void ProcessCreateDubbingProjectResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -451,19 +451,19 @@ partial void ProcessCreateDubbingProjectResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.CreateDubbingProjectResponse4? __value_503 = null; + global::Murf.CreateDubbingProjectResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.CreateDubbingProjectResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.CreateDubbingProjectResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.CreateDubbingProjectResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.CreateDubbingProjectResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -472,7 +472,7 @@ partial void ProcessCreateDubbingProjectResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.List.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.List.g.cs index a674b76..51ccc66 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.List.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.List.g.cs @@ -379,19 +379,19 @@ partial void ProcessListResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.ListResponse2? __value_403 = null; + global::Murf.ListResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ListResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ListResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ListResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ListResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -400,7 +400,7 @@ partial void ProcessListResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -416,19 +416,19 @@ partial void ProcessListResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.ListResponse3? __value_500 = null; + global::Murf.ListResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ListResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ListResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ListResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ListResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -437,7 +437,7 @@ partial void ProcessListResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -453,19 +453,19 @@ partial void ProcessListResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.ListResponse4? __value_503 = null; + global::Murf.ListResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ListResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ListResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ListResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ListResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -474,7 +474,7 @@ partial void ProcessListResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.Update.g.cs b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.Update.g.cs index 951d65a..c93068e 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.Update.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageDubbingSubpackageDubbingProjectsClient.Update.g.cs @@ -386,19 +386,19 @@ partial void ProcessUpdateResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.UpdateResponse2? __value_403 = null; + global::Murf.UpdateResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.UpdateResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.UpdateResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.UpdateResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.UpdateResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -407,7 +407,7 @@ partial void ProcessUpdateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -423,19 +423,19 @@ partial void ProcessUpdateResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.UpdateResponse3? __value_500 = null; + global::Murf.UpdateResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.UpdateResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.UpdateResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.UpdateResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.UpdateResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -444,7 +444,7 @@ partial void ProcessUpdateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -460,19 +460,19 @@ partial void ProcessUpdateResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.UpdateResponse4? __value_503 = null; + global::Murf.UpdateResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.UpdateResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.UpdateResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.UpdateResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.UpdateResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -481,7 +481,7 @@ partial void ProcessUpdateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageText.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageText.JsonSerializerContext.g.cs index b170963..06b3ec8 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageText.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageText.JsonSerializerContext.g.cs @@ -25,10 +25,6 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.MurfApiTranslationResponse))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.TranslateResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] diff --git a/src/libs/Murf/Generated/Murf.SubpackageTextClient.Translate.g.cs b/src/libs/Murf/Generated/Murf.SubpackageTextClient.Translate.g.cs index aa192dc..37a41e6 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageTextClient.Translate.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageTextClient.Translate.g.cs @@ -377,19 +377,19 @@ partial void ProcessTranslateResponseContent( { string? __content_402 = null; global::System.Exception? __exception_402 = null; - global::Murf.TranslateResponse2? __value_402 = null; + global::Murf.TranslateResponse? __value_402 = null; try { if (__effectiveReadResponseAsString) { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.TranslateResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.TranslateResponse.FromJson(__content_402, JsonSerializerContext); } else { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.TranslateResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.TranslateResponse.FromJson(__content_402, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -398,7 +398,7 @@ partial void ProcessTranslateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_402, @@ -414,19 +414,19 @@ partial void ProcessTranslateResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.TranslateResponse3? __value_403 = null; + global::Murf.TranslateResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.TranslateResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.TranslateResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.TranslateResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.TranslateResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -435,7 +435,7 @@ partial void ProcessTranslateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -451,19 +451,19 @@ partial void ProcessTranslateResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.TranslateResponse4? __value_500 = null; + global::Murf.TranslateResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.TranslateResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.TranslateResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.TranslateResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.TranslateResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -472,7 +472,7 @@ partial void ProcessTranslateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -488,19 +488,19 @@ partial void ProcessTranslateResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.TranslateResponse5? __value_503 = null; + global::Murf.TranslateResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.TranslateResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.TranslateResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.TranslateResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.TranslateResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -509,7 +509,7 @@ partial void ProcessTranslateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeech.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeech.JsonSerializerContext.g.cs deleted file mode 100644 index 8f9f57f..0000000 --- a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeech.JsonSerializerContext.g.cs +++ /dev/null @@ -1,226 +0,0 @@ - -#nullable enable - -namespace Murf -{ - /// - /// - /// - [global::System.Text.Json.Serialization.JsonSourceGenerationOptions( - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull - )] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List), TypeInfoPropertyName = "SystemCollectionsGeneric_ObjectList")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(string[]))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Text.Json.JsonElement?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.PronunciationDetailType), TypeInfoPropertyName = "PronunciationDetailType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.PronunciationDetail))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(string))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateSpeechStreamingRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(double))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateSpeechRequestModelVersion), TypeInfoPropertyName = "GenerateSpeechRequestModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateSpeechRequest))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.WordDurationResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateSpeechResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(long))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ApiVoiceGender), TypeInfoPropertyName = "ApiVoiceGender2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StyleDetails))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ApiVoice))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.Dictionary))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.StreamResponse5))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateResponse5))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GetVoicesResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.PronunciationDetailType?), TypeInfoPropertyName = "NullablePronunciationDetailType2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.GenerateSpeechRequestModelVersion?), TypeInfoPropertyName = "NullableGenerateSpeechRequestModelVersion2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(long?))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ApiVoiceGender?), TypeInfoPropertyName = "NullableApiVoiceGender2")] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List))] - internal sealed partial class SubpackageTextToSpeechSourceGenerationContextChunk0 : global::System.Text.Json.Serialization.JsonSerializerContext - { - } - /// - /// - /// - public sealed partial class SubpackageTextToSpeechSourceGenerationContext : global::System.Text.Json.Serialization.JsonSerializerContext - { - private static readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver Resolver = new LazyChunkResolver(); - - [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] - internal static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver TypeInfoResolver => Resolver; - - - private static readonly global::System.Text.Json.JsonSerializerOptions DefaultOptions = CreateDefaultOptions(); - - /// - /// - /// - public static SubpackageTextToSpeechSourceGenerationContext Default { get; } = new(DefaultOptions); - - private SubpackageTextToSpeechSourceGenerationContext(global::System.Text.Json.JsonSerializerOptions options) - : base(options) - { - } - - /// - protected override global::System.Text.Json.JsonSerializerOptions? GeneratedSerializerOptions => DefaultOptions; - - /// - public override global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo(global::System.Type type) - { - return Resolver.GetTypeInfo(type, Options); - } - - /// - /// Adds this package's converters to . - /// - /// - /// A converter has to be on the options a chained resolver builds its JsonTypeInfo against, - /// and a context resolves types from every package below it. Each package contributes only - /// what it owns and calls down the chain for the rest, so the family's converter table is - /// written once rather than copied into all of them. - /// - [global::System.ComponentModel.EditorBrowsable(global::System.ComponentModel.EditorBrowsableState.Never)] - public static void AddConverters(global::System.Text.Json.JsonSerializerOptions options) - { - options.Converters.Add(new global::Murf.JsonConverters.UnixTimestampJsonConverter()); - options.Converters.Add(new LazyEnumJsonConverterFactory()); - } - - private static global::System.Text.Json.JsonSerializerOptions CreateDefaultOptions() - { - var options = new global::System.Text.Json.JsonSerializerOptions - { - DefaultIgnoreCondition = global::System.Text.Json.Serialization.JsonIgnoreCondition.WhenWritingNull, - TypeInfoResolver = Resolver, - }; - AddConverters(options); - - return options; - } - - - private sealed class LazyEnumJsonConverterFactory : global::System.Text.Json.Serialization.JsonConverterFactory - { - public override bool CanConvert(global::System.Type typeToConvert) - { - return - typeToConvert == typeof(global::Murf.PronunciationDetailType) - - || typeToConvert == typeof(global::Murf.PronunciationDetailType?) - - || typeToConvert == typeof(global::Murf.GenerateSpeechRequestModelVersion) - - || typeToConvert == typeof(global::Murf.GenerateSpeechRequestModelVersion?) - - || typeToConvert == typeof(global::Murf.ApiVoiceGender) - - || typeToConvert == typeof(global::Murf.ApiVoiceGender?); - } - - public override global::System.Text.Json.Serialization.JsonConverter CreateConverter( - global::System.Type typeToConvert, - global::System.Text.Json.JsonSerializerOptions options) - { - if (typeToConvert == typeof(global::Murf.PronunciationDetailType)) - { - return new global::Murf.JsonConverters.PronunciationDetailTypeJsonConverter(); - } - - if (typeToConvert == typeof(global::Murf.PronunciationDetailType?)) - { - return new global::Murf.JsonConverters.PronunciationDetailTypeNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Murf.GenerateSpeechRequestModelVersion)) - { - return new global::Murf.JsonConverters.GenerateSpeechRequestModelVersionJsonConverter(); - } - - if (typeToConvert == typeof(global::Murf.GenerateSpeechRequestModelVersion?)) - { - return new global::Murf.JsonConverters.GenerateSpeechRequestModelVersionNullableJsonConverter(); - } - - if (typeToConvert == typeof(global::Murf.ApiVoiceGender)) - { - return new global::Murf.JsonConverters.ApiVoiceGenderJsonConverter(); - } - - if (typeToConvert == typeof(global::Murf.ApiVoiceGender?)) - { - return new global::Murf.JsonConverters.ApiVoiceGenderNullableJsonConverter(); - } - throw new global::System.NotSupportedException($"No generated enum converter is registered for '{typeToConvert}'."); - } - } - - private sealed class LazyChunkResolver : global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver - { - private readonly object _gate = new(); - private readonly global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[] _resolvers = new global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver?[1]; - - public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo? GetTypeInfo( - global::System.Type type, - global::System.Text.Json.JsonSerializerOptions options) - { - for (var index = 0; index < _resolvers.Length; index++) - { - var typeInfo = GetResolver(index).GetTypeInfo(type, options); - if (typeInfo is not null) - { - return typeInfo; - } - } - - return null; - } - - private global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver GetResolver(int index) - { - var resolver = global::System.Threading.Volatile.Read(ref _resolvers[index]); - if (resolver is not null) - { - return resolver; - } - - lock (_gate) - { - return _resolvers[index] ??= CreateResolver(index); - } - } - - private static global::System.Text.Json.Serialization.Metadata.IJsonTypeInfoResolver CreateResolver(int index) - { - return index switch - { - 0 => new SubpackageTextToSpeechSourceGenerationContextChunk0(new global::System.Text.Json.JsonSerializerOptions()), - _ => throw new global::System.ArgumentOutOfRangeException(nameof(index)), - }; - } - } - } -} \ No newline at end of file diff --git a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Generate.g.cs b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Generate.g.cs index cea0db1..1c272fe 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Generate.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Generate.g.cs @@ -379,19 +379,19 @@ partial void ProcessGenerateResponseContent( { string? __content_402 = null; global::System.Exception? __exception_402 = null; - global::Murf.GenerateResponse2? __value_402 = null; + global::Murf.GenerateResponse? __value_402 = null; try { if (__effectiveReadResponseAsString) { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.GenerateResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.GenerateResponse.FromJson(__content_402, JsonSerializerContext); } else { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.GenerateResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.GenerateResponse.FromJson(__content_402, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -400,7 +400,7 @@ partial void ProcessGenerateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_402, @@ -416,19 +416,19 @@ partial void ProcessGenerateResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.GenerateResponse3? __value_403 = null; + global::Murf.GenerateResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.GenerateResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.GenerateResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.GenerateResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.GenerateResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -437,7 +437,7 @@ partial void ProcessGenerateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -453,19 +453,19 @@ partial void ProcessGenerateResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.GenerateResponse4? __value_500 = null; + global::Murf.GenerateResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.GenerateResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.GenerateResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.GenerateResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.GenerateResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -474,7 +474,7 @@ partial void ProcessGenerateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -490,19 +490,19 @@ partial void ProcessGenerateResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.GenerateResponse5? __value_503 = null; + global::Murf.GenerateResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GenerateResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GenerateResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GenerateResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GenerateResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -511,7 +511,7 @@ partial void ProcessGenerateResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.GetVoices.g.cs b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.GetVoices.g.cs index 9eca660..e9d7b70 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.GetVoices.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.GetVoices.g.cs @@ -390,19 +390,19 @@ partial void ProcessGetVoicesResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.GetVoicesResponse2? __value_403 = null; + global::Murf.GetVoicesResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.GetVoicesResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.GetVoicesResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.GetVoicesResponse2.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.GetVoicesResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -411,7 +411,7 @@ partial void ProcessGetVoicesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -427,19 +427,19 @@ partial void ProcessGetVoicesResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.GetVoicesResponse3? __value_500 = null; + global::Murf.GetVoicesResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.GetVoicesResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.GetVoicesResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.GetVoicesResponse3.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.GetVoicesResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -448,7 +448,7 @@ partial void ProcessGetVoicesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -464,19 +464,19 @@ partial void ProcessGetVoicesResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.GetVoicesResponse4? __value_503 = null; + global::Murf.GetVoicesResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GetVoicesResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GetVoicesResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.GetVoicesResponse4.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.GetVoicesResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -485,7 +485,7 @@ partial void ProcessGetVoicesResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Stream.g.cs b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Stream.g.cs index ce9c8cd..c107779 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Stream.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.Stream.g.cs @@ -411,19 +411,19 @@ partial void ProcessStreamResponseContent( { string? __content_402 = null; global::System.Exception? __exception_402 = null; - global::Murf.StreamResponse2? __value_402 = null; + global::Murf.StreamResponse? __value_402 = null; try { if (__effectiveReadResponseAsString) { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.StreamResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.StreamResponse.FromJson(__content_402, JsonSerializerContext); } else { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.StreamResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.StreamResponse.FromJson(__content_402, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -432,7 +432,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_402, @@ -448,19 +448,19 @@ partial void ProcessStreamResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.StreamResponse3? __value_403 = null; + global::Murf.StreamResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.StreamResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.StreamResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.StreamResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.StreamResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -469,7 +469,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -485,19 +485,19 @@ partial void ProcessStreamResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.StreamResponse4? __value_500 = null; + global::Murf.StreamResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.StreamResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.StreamResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.StreamResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.StreamResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -506,7 +506,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -522,19 +522,19 @@ partial void ProcessStreamResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.StreamResponse5? __value_503 = null; + global::Murf.StreamResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.StreamResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.StreamResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.StreamResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.StreamResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -543,7 +543,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, @@ -941,19 +941,19 @@ partial void ProcessStreamResponseContent( { string? __content_402 = null; global::System.Exception? __exception_402 = null; - global::Murf.StreamResponse2? __value_402 = null; + global::Murf.StreamResponse? __value_402 = null; try { if (__effectiveReadResponseAsString) { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.StreamResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.StreamResponse.FromJson(__content_402, JsonSerializerContext); } else { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.StreamResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.StreamResponse.FromJson(__content_402, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -962,7 +962,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_402, @@ -978,19 +978,19 @@ partial void ProcessStreamResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.StreamResponse3? __value_403 = null; + global::Murf.StreamResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.StreamResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.StreamResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.StreamResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.StreamResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -999,7 +999,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -1015,19 +1015,19 @@ partial void ProcessStreamResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.StreamResponse4? __value_500 = null; + global::Murf.StreamResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.StreamResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.StreamResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.StreamResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.StreamResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -1036,7 +1036,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -1052,19 +1052,19 @@ partial void ProcessStreamResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.StreamResponse5? __value_503 = null; + global::Murf.StreamResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.StreamResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.StreamResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.StreamResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.StreamResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -1073,7 +1073,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, @@ -1474,19 +1474,19 @@ partial void ProcessStreamResponseContent( { string? __content_402 = null; global::System.Exception? __exception_402 = null; - global::Murf.StreamResponse2? __value_402 = null; + global::Murf.StreamResponse? __value_402 = null; try { if (__effectiveReadResponseAsString) { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.StreamResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.StreamResponse.FromJson(__content_402, JsonSerializerContext); } else { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.StreamResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.StreamResponse.FromJson(__content_402, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -1495,7 +1495,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_402, @@ -1511,19 +1511,19 @@ partial void ProcessStreamResponseContent( { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.StreamResponse3? __value_403 = null; + global::Murf.StreamResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.StreamResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.StreamResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.StreamResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.StreamResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -1532,7 +1532,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -1548,19 +1548,19 @@ partial void ProcessStreamResponseContent( { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.StreamResponse4? __value_500 = null; + global::Murf.StreamResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.StreamResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.StreamResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.StreamResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.StreamResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -1569,7 +1569,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -1585,19 +1585,19 @@ partial void ProcessStreamResponseContent( { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.StreamResponse5? __value_503 = null; + global::Murf.StreamResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.StreamResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.StreamResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.StreamResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.StreamResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -1606,7 +1606,7 @@ partial void ProcessStreamResponseContent( } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503, diff --git a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.g.cs b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.g.cs index 8b7126e..27a1324 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageTextToSpeechClient.g.cs @@ -41,7 +41,7 @@ public sealed partial class SubpackageTextToSpeechClient : global::Murf.ISubpack /// public global::System.Text.Json.Serialization.JsonSerializerContext JsonSerializerContext { - get => JsonSerializerContextProvider?.Value ?? global::Murf.SubpackageTextToSpeechSourceGenerationContext.Default; + get => JsonSerializerContextProvider?.Value ?? global::Murf.SourceGenerationContext.Default; set => JsonSerializerContextProvider = new(() => value); } diff --git a/src/libs/Murf/Generated/Murf.SubpackageVoiceChanger.JsonSerializerContext.g.cs b/src/libs/Murf/Generated/Murf.SubpackageVoiceChanger.JsonSerializerContext.g.cs index 0196905..51f6ab5 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageVoiceChanger.JsonSerializerContext.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageVoiceChanger.JsonSerializerContext.g.cs @@ -23,10 +23,6 @@ namespace Murf [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertRequest))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse2))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse3))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse4))] - [global::System.Text.Json.Serialization.JsonSerializable(typeof(global::Murf.ConvertResponse5))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(int?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(double?))] [global::System.Text.Json.Serialization.JsonSerializable(typeof(bool?))] diff --git a/src/libs/Murf/Generated/Murf.SubpackageVoiceChangerClient.Convert.g.cs b/src/libs/Murf/Generated/Murf.SubpackageVoiceChangerClient.Convert.g.cs index f966668..8910620 100644 --- a/src/libs/Murf/Generated/Murf.SubpackageVoiceChangerClient.Convert.g.cs +++ b/src/libs/Murf/Generated/Murf.SubpackageVoiceChangerClient.Convert.g.cs @@ -551,19 +551,19 @@ request.Filename is null { string? __content_402 = null; global::System.Exception? __exception_402 = null; - global::Murf.ConvertResponse2? __value_402 = null; + global::Murf.ConvertResponse? __value_402 = null; try { if (__effectiveReadResponseAsString) { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.ConvertResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.ConvertResponse.FromJson(__content_402, JsonSerializerContext); } else { __content_402 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_402 = global::Murf.ConvertResponse2.FromJson(__content_402, JsonSerializerContext); + __value_402 = global::Murf.ConvertResponse.FromJson(__content_402, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -572,7 +572,7 @@ request.Filename is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_402 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_402, @@ -588,19 +588,19 @@ request.Filename is null { string? __content_403 = null; global::System.Exception? __exception_403 = null; - global::Murf.ConvertResponse3? __value_403 = null; + global::Murf.ConvertResponse? __value_403 = null; try { if (__effectiveReadResponseAsString) { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ConvertResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ConvertResponse.FromJson(__content_403, JsonSerializerContext); } else { __content_403 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_403 = global::Murf.ConvertResponse3.FromJson(__content_403, JsonSerializerContext); + __value_403 = global::Murf.ConvertResponse.FromJson(__content_403, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -609,7 +609,7 @@ request.Filename is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_403 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_403, @@ -625,19 +625,19 @@ request.Filename is null { string? __content_500 = null; global::System.Exception? __exception_500 = null; - global::Murf.ConvertResponse4? __value_500 = null; + global::Murf.ConvertResponse? __value_500 = null; try { if (__effectiveReadResponseAsString) { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ConvertResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ConvertResponse.FromJson(__content_500, JsonSerializerContext); } else { __content_500 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_500 = global::Murf.ConvertResponse4.FromJson(__content_500, JsonSerializerContext); + __value_500 = global::Murf.ConvertResponse.FromJson(__content_500, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -646,7 +646,7 @@ request.Filename is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_500 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_500, @@ -662,19 +662,19 @@ request.Filename is null { string? __content_503 = null; global::System.Exception? __exception_503 = null; - global::Murf.ConvertResponse5? __value_503 = null; + global::Murf.ConvertResponse? __value_503 = null; try { if (__effectiveReadResponseAsString) { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ConvertResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ConvertResponse.FromJson(__content_503, JsonSerializerContext); } else { __content_503 = await __response.Content.ReadAsStringAsync(__effectiveCancellationToken).ConfigureAwait(false); - __value_503 = global::Murf.ConvertResponse5.FromJson(__content_503, JsonSerializerContext); + __value_503 = global::Murf.ConvertResponse.FromJson(__content_503, JsonSerializerContext); } } catch (global::System.Exception __ex) @@ -683,7 +683,7 @@ request.Filename is null } - throw global::Murf.ApiException.Create( + throw global::Murf.ApiException.Create( statusCode: __response.StatusCode, message: __content_503 ?? __response.ReasonPhrase ?? string.Empty, innerException: __exception_503,