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
2 changes: 1 addition & 1 deletion src/libs/RevAI/Generated/RevAI.AccountClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Account information.<br/>
/// Account information<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ partial void ProcessGetCaptionsResponseContent(
}
}

if (accept != default)
{
__httpRequest.Headers.TryAddWithoutValidation("Accept", accept?.ToValueString() ?? string.Empty);
}
if (accept != default)
{
__httpRequest.Headers.TryAddWithoutValidation("Accept", accept?.ToValueString() ?? string.Empty);
}

global::RevAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
2 changes: 1 addition & 1 deletion src/libs/RevAI/Generated/RevAI.CaptionsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve caption output (SRT/VTT).<br/>
/// Retrieve caption output (SRT/VTT)<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/RevAI/Generated/RevAI.IAccountClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Account information.<br/>
/// Account information<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface IAccountClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/RevAI/Generated/RevAI.ICaptionsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve caption output (SRT/VTT).<br/>
/// Retrieve caption output (SRT/VTT)<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ICaptionsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Language identification from audio.<br/>
/// Language identification from audio<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ILanguageIdentificationJobsClient : global::System.IDis
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve language identification results.<br/>
/// Retrieve language identification results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ILanguageIdentificationResultsClient : global::System.I
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/libs/RevAI/Generated/RevAI.IRevAIClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ public partial interface IRevAIClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Sentiment analysis on text or transcripts.<br/>
/// Sentiment analysis on text or transcripts<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ISentimentAnalysisJobsClient : global::System.IDisposab
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve sentiment analysis results.<br/>
/// Retrieve sentiment analysis results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ISentimentAnalysisResultsClient : global::System.IDispo
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Topic extraction from text or transcripts.<br/>
/// Topic extraction from text or transcripts<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ITopicExtractionJobsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve topic extraction results.<br/>
/// Retrieve topic extraction results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ITopicExtractionResultsClient : global::System.IDisposa
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/RevAI/Generated/RevAI.ITranscriptClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve transcription results.<br/>
/// Retrieve transcription results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ITranscriptClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
4 changes: 2 additions & 2 deletions src/libs/RevAI/Generated/RevAI.ITranscriptionJobsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Async speech-to-text transcription.<br/>
/// Async speech-to-text transcription<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down Expand Up @@ -33,12 +33,12 @@ public partial interface ITranscriptionJobsClient : global::System.IDisposable
/// ensuring <see cref="ApiException.ResponseBody"/> is populated.
/// </summary>
public bool ReadResponseAsString { get; set; }

/// <summary>
/// Client-wide request defaults such as headers, query parameters, retries, and timeout.
/// </summary>
public global::RevAI.AutoSDKClientOptions Options { get; }


/// <summary>
///
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Language identification from audio.<br/>
/// Language identification from audio<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve language identification results.<br/>
/// Retrieve language identification results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
2 changes: 2 additions & 0 deletions src/libs/RevAI/Generated/RevAI.OptionsSupport.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public sealed class AutoSDKRetryOptions
public global::System.TimeSpan? Delay { get; set; }
}


/// <summary>
/// Runtime hook interface for generated SDK lifecycle events.
/// </summary>
Expand Down Expand Up @@ -236,6 +237,7 @@ public sealed class AutoSDKHookContext
public global::System.Threading.CancellationToken CancellationToken { get; set; }
}


internal static class AutoSDKRequestOptionsSupport
{
internal static global::RevAI.AutoSDKHookContext CreateHookContext(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Sentiment analysis on text or transcripts.<br/>
/// Sentiment analysis on text or transcripts<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve sentiment analysis results.<br/>
/// Retrieve sentiment analysis results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Topic extraction from text or transcripts.<br/>
/// Topic extraction from text or transcripts<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve topic extraction results.<br/>
/// Retrieve topic extraction results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,10 +122,10 @@ partial void ProcessGetTranscriptResponseContent(
}
}

if (accept != default)
{
__httpRequest.Headers.TryAddWithoutValidation("Accept", accept?.ToValueString() ?? string.Empty);
}
if (accept != default)
{
__httpRequest.Headers.TryAddWithoutValidation("Accept", accept?.ToValueString() ?? string.Empty);
}

global::RevAI.AutoSDKRequestOptionsSupport.ApplyHeaders(
request: __httpRequest,
Expand Down
2 changes: 1 addition & 1 deletion src/libs/RevAI/Generated/RevAI.TranscriptClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Retrieve transcription results.<br/>
/// Retrieve transcription results<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace RevAI
{
/// <summary>
/// Async speech-to-text transcription.<br/>
/// Async speech-to-text transcription<br/>
/// If no httpClient is provided, a new one will be created.<br/>
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
Expand Down