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 @@ -13,6 +13,7 @@ public partial interface ITranscriptClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::AssemblyAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::AssemblyAI.Transcript> CreateTranscriptAsync(

global::AssemblyAI.TranscriptParams request,
global::System.Threading.CancellationToken cancellationToken = default);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public partial interface ITranscriptClient
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::AssemblyAI.ApiException"></exception>
global::System.Threading.Tasks.Task<global::AssemblyAI.UploadedFile> UploadFileAsync(

byte[] request,
global::System.Threading.CancellationToken cancellationToken = default);
}
Expand Down
18 changes: 9 additions & 9 deletions src/libs/AssemblyAI/Generated/AssemblyAI.Models.Sentiment.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ public enum Sentiment
/// <summary>
///
/// </summary>
POSITIVE,
Positive,
/// <summary>
///
/// </summary>
NEUTRAL,
Neutral,
/// <summary>
///
/// </summary>
NEGATIVE,
Negative,
}

/// <summary>
Expand All @@ -34,9 +34,9 @@ public static string ToValueString(this Sentiment value)
{
return value switch
{
Sentiment.POSITIVE => "POSITIVE",
Sentiment.NEUTRAL => "NEUTRAL",
Sentiment.NEGATIVE => "NEGATIVE",
Sentiment.Positive => "POSITIVE",
Sentiment.Neutral => "NEUTRAL",
Sentiment.Negative => "NEGATIVE",
_ => throw new global::System.ArgumentOutOfRangeException(nameof(value), value, null),
};
}
Expand All @@ -47,9 +47,9 @@ public static string ToValueString(this Sentiment value)
{
return value switch
{
"POSITIVE" => Sentiment.POSITIVE,
"NEUTRAL" => Sentiment.NEUTRAL,
"NEGATIVE" => Sentiment.NEGATIVE,
"POSITIVE" => Sentiment.Positive,
"NEUTRAL" => Sentiment.Neutral,
"NEGATIVE" => Sentiment.Negative,
_ => null,
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ partial void ProcessCreateTranscriptResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::AssemblyAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::AssemblyAI.Transcript> CreateTranscriptAsync(

global::AssemblyAI.TranscriptParams request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ partial void ProcessUploadFileResponseContent(
/// <param name="cancellationToken">The token to cancel the operation with</param>
/// <exception cref="global::AssemblyAI.ApiException"></exception>
public async global::System.Threading.Tasks.Task<global::AssemblyAI.UploadedFile> UploadFileAsync(

byte[] request,
global::System.Threading.CancellationToken cancellationToken = default)
{
Expand Down
Loading