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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public partial interface IVoiceCloningClient
/// <exception cref="global::SmallestAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::SmallestAI.VoiceCloningCreateVoiceCloneResponse200> CreateVoiceCloneAsync(

global::SmallestAI.VoiceCloningCreateVoiceCloneRequest request,
global::SmallestAI.CreateVoiceCloneRequest request,
global::SmallestAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
Expand All @@ -27,7 +27,7 @@ public partial interface IVoiceCloningClient
/// <exception cref="global::SmallestAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::SmallestAI.AutoSDKHttpResponse<global::SmallestAI.VoiceCloningCreateVoiceCloneResponse200>> CreateVoiceCloneAsResponseAsync(

global::SmallestAI.VoiceCloningCreateVoiceCloneRequest request,
global::SmallestAI.CreateVoiceCloneRequest request,
global::SmallestAI.AutoSDKRequestOptions? requestOptions = default,
global::System.Threading.CancellationToken cancellationToken = default);
/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ namespace SmallestAI
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::SmallestAI.ErrorErrorDetailsItems>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SmallestAI.Error))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SmallestAI.TranscriptionUrlRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SmallestAI.VoiceCloningCreateVoiceCloneRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::SmallestAI.CreateVoiceCloneRequest))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(byte[]))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.IList<global::SmallestAI.PronunciationDict>))]
[global::System.Text.Json.Serialization.JsonSerializable(typeof(global::System.Collections.Generic.List<string>))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ public sealed partial class JsonSerializerContextTypes
/// <summary>
///
/// </summary>
public global::SmallestAI.VoiceCloningCreateVoiceCloneRequest? Type101 { get; set; }
public global::SmallestAI.CreateVoiceCloneRequest? Type101 { get; set; }
/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace SmallestAI
{
public sealed partial class VoiceCloningCreateVoiceCloneRequest
public sealed partial class CreateVoiceCloneRequest
{
/// <summary>
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
Expand Down Expand Up @@ -47,20 +47,20 @@ public string ToJson(
/// <summary>
/// Deserializes a JSON string using the provided JsonSerializerContext.
/// </summary>
public static global::SmallestAI.VoiceCloningCreateVoiceCloneRequest? FromJson(
public static global::SmallestAI.CreateVoiceCloneRequest? FromJson(
string json,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
typeof(global::SmallestAI.VoiceCloningCreateVoiceCloneRequest),
jsonSerializerContext) as global::SmallestAI.VoiceCloningCreateVoiceCloneRequest;
typeof(global::SmallestAI.CreateVoiceCloneRequest),
jsonSerializerContext) as global::SmallestAI.CreateVoiceCloneRequest;
}

/// <summary>
/// Deserializes a JSON string using the generated default JsonSerializerContext.
/// </summary>
public static global::SmallestAI.VoiceCloningCreateVoiceCloneRequest? FromJson(
public static global::SmallestAI.CreateVoiceCloneRequest? FromJson(
string json)
{
return FromJson(
Expand All @@ -75,7 +75,7 @@ public string ToJson(
[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::SmallestAI.VoiceCloningCreateVoiceCloneRequest? FromJson(
public static global::SmallestAI.CreateVoiceCloneRequest? FromJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
Expand All @@ -86,28 +86,28 @@ public string ToJson(
global::SmallestAI.SourceGenerationContext.Default);
}

return global::System.Text.Json.JsonSerializer.Deserialize<global::SmallestAI.VoiceCloningCreateVoiceCloneRequest>(
return global::System.Text.Json.JsonSerializer.Deserialize<global::SmallestAI.CreateVoiceCloneRequest>(
json,
jsonSerializerOptions);
}

/// <summary>
/// Deserializes a JSON stream using the provided JsonSerializerContext.
/// </summary>
public static async global::System.Threading.Tasks.ValueTask<global::SmallestAI.VoiceCloningCreateVoiceCloneRequest?> FromJsonStreamAsync(
public static async global::System.Threading.Tasks.ValueTask<global::SmallestAI.CreateVoiceCloneRequest?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
typeof(global::SmallestAI.VoiceCloningCreateVoiceCloneRequest),
jsonSerializerContext).ConfigureAwait(false)) as global::SmallestAI.VoiceCloningCreateVoiceCloneRequest;
typeof(global::SmallestAI.CreateVoiceCloneRequest),
jsonSerializerContext).ConfigureAwait(false)) as global::SmallestAI.CreateVoiceCloneRequest;
}

/// <summary>
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
/// </summary>
public static global::System.Threading.Tasks.ValueTask<global::SmallestAI.VoiceCloningCreateVoiceCloneRequest?> FromJsonStreamAsync(
public static global::System.Threading.Tasks.ValueTask<global::SmallestAI.CreateVoiceCloneRequest?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream)
{
return FromJsonStreamAsync(
Expand All @@ -122,7 +122,7 @@ public string ToJson(
[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<global::SmallestAI.VoiceCloningCreateVoiceCloneRequest?> FromJsonStreamAsync(
public static global::System.Threading.Tasks.ValueTask<global::SmallestAI.CreateVoiceCloneRequest?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
Expand All @@ -133,7 +133,7 @@ public string ToJson(
global::SmallestAI.SourceGenerationContext.Default);
}

return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::SmallestAI.VoiceCloningCreateVoiceCloneRequest?>(
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::SmallestAI.CreateVoiceCloneRequest?>(
jsonStream,
jsonSerializerOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace SmallestAI
/// <summary>
///
/// </summary>
public sealed partial class VoiceCloningCreateVoiceCloneRequest
public sealed partial class CreateVoiceCloneRequest
{
/// <summary>
/// Human-readable name for the voice clone.
Expand Down Expand Up @@ -86,7 +86,7 @@ public sealed partial class VoiceCloningCreateVoiceCloneRequest
public global::System.Collections.Generic.IDictionary<string, object> AdditionalProperties { get; set; } = new global::System.Collections.Generic.Dictionary<string, object>();

/// <summary>
/// Initializes a new instance of the <see cref="VoiceCloningCreateVoiceCloneRequest" /> class.
/// Initializes a new instance of the <see cref="CreateVoiceCloneRequest" /> class.
/// </summary>
/// <param name="displayName">
/// Human-readable name for the voice clone.
Expand Down Expand Up @@ -133,7 +133,7 @@ public sealed partial class VoiceCloningCreateVoiceCloneRequest
#if NET7_0_OR_GREATER
[global::System.Diagnostics.CodeAnalysis.SetsRequiredMembers]
#endif
public VoiceCloningCreateVoiceCloneRequest(
public CreateVoiceCloneRequest(
string displayName,
byte[] file,
string filename,
Expand All @@ -154,9 +154,9 @@ public VoiceCloningCreateVoiceCloneRequest(
}

/// <summary>
/// Initializes a new instance of the <see cref="VoiceCloningCreateVoiceCloneRequest" /> class.
/// Initializes a new instance of the <see cref="CreateVoiceCloneRequest" /> class.
/// </summary>
public VoiceCloningCreateVoiceCloneRequest()
public CreateVoiceCloneRequest()
{
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace SmallestAI
{
public sealed partial class VoiceCloningListVoiceClonesResponse
public sealed partial class ListVoiceClonesResponse
{
/// <summary>
/// Serializes the current instance to a JSON string using the provided JsonSerializerContext.
Expand Down Expand Up @@ -47,20 +47,20 @@ public string ToJson(
/// <summary>
/// Deserializes a JSON string using the provided JsonSerializerContext.
/// </summary>
public static global::SmallestAI.VoiceCloningListVoiceClonesResponse? FromJson(
public static global::SmallestAI.ListVoiceClonesResponse? FromJson(
string json,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return global::System.Text.Json.JsonSerializer.Deserialize(
json,
typeof(global::SmallestAI.VoiceCloningListVoiceClonesResponse),
jsonSerializerContext) as global::SmallestAI.VoiceCloningListVoiceClonesResponse;
typeof(global::SmallestAI.ListVoiceClonesResponse),
jsonSerializerContext) as global::SmallestAI.ListVoiceClonesResponse;
}

/// <summary>
/// Deserializes a JSON string using the generated default JsonSerializerContext.
/// </summary>
public static global::SmallestAI.VoiceCloningListVoiceClonesResponse? FromJson(
public static global::SmallestAI.ListVoiceClonesResponse? FromJson(
string json)
{
return FromJson(
Expand All @@ -75,7 +75,7 @@ public string ToJson(
[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::SmallestAI.VoiceCloningListVoiceClonesResponse? FromJson(
public static global::SmallestAI.ListVoiceClonesResponse? FromJson(
string json,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
Expand All @@ -86,28 +86,28 @@ public string ToJson(
global::SmallestAI.SourceGenerationContext.Default);
}

return global::System.Text.Json.JsonSerializer.Deserialize<global::SmallestAI.VoiceCloningListVoiceClonesResponse>(
return global::System.Text.Json.JsonSerializer.Deserialize<global::SmallestAI.ListVoiceClonesResponse>(
json,
jsonSerializerOptions);
}

/// <summary>
/// Deserializes a JSON stream using the provided JsonSerializerContext.
/// </summary>
public static async global::System.Threading.Tasks.ValueTask<global::SmallestAI.VoiceCloningListVoiceClonesResponse?> FromJsonStreamAsync(
public static async global::System.Threading.Tasks.ValueTask<global::SmallestAI.ListVoiceClonesResponse?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.Serialization.JsonSerializerContext jsonSerializerContext)
{
return (await global::System.Text.Json.JsonSerializer.DeserializeAsync(
jsonStream,
typeof(global::SmallestAI.VoiceCloningListVoiceClonesResponse),
jsonSerializerContext).ConfigureAwait(false)) as global::SmallestAI.VoiceCloningListVoiceClonesResponse;
typeof(global::SmallestAI.ListVoiceClonesResponse),
jsonSerializerContext).ConfigureAwait(false)) as global::SmallestAI.ListVoiceClonesResponse;
}

/// <summary>
/// Deserializes a JSON stream using the generated default JsonSerializerContext.
/// </summary>
public static global::System.Threading.Tasks.ValueTask<global::SmallestAI.VoiceCloningListVoiceClonesResponse?> FromJsonStreamAsync(
public static global::System.Threading.Tasks.ValueTask<global::SmallestAI.ListVoiceClonesResponse?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream)
{
return FromJsonStreamAsync(
Expand All @@ -122,7 +122,7 @@ public string ToJson(
[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<global::SmallestAI.VoiceCloningListVoiceClonesResponse?> FromJsonStreamAsync(
public static global::System.Threading.Tasks.ValueTask<global::SmallestAI.ListVoiceClonesResponse?> FromJsonStreamAsync(
global::System.IO.Stream jsonStream,
global::System.Text.Json.JsonSerializerOptions? jsonSerializerOptions = null)
{
Expand All @@ -133,7 +133,7 @@ public string ToJson(
global::SmallestAI.SourceGenerationContext.Default);
}

return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::SmallestAI.VoiceCloningListVoiceClonesResponse?>(
return global::System.Text.Json.JsonSerializer.DeserializeAsync<global::SmallestAI.ListVoiceClonesResponse?>(
jsonStream,
jsonSerializerOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace SmallestAI
/// <summary>
/// Any type
/// </summary>
public sealed partial class VoiceCloningListVoiceClonesResponse
public sealed partial class ListVoiceClonesResponse
{

/// <summary>
Expand Down
Loading