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
21 changes: 21 additions & 0 deletions src/libs/Inworld/Generated/Inworld.InworldClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,27 @@ public InworldClient(
{
}

/// <summary>
/// Creates a new instance of the InworldClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public InworldClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Inworld.EndPointAuthorization>? authorizations,
global::Inworld.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the InworldClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Inworld/Generated/Inworld.ModelsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public ModelsClient(
{
}

/// <summary>
/// Creates a new instance of the ModelsClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public ModelsClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Inworld.EndPointAuthorization>? authorizations,
global::Inworld.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the ModelsClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Inworld/Generated/Inworld.SpeechToTextClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public SpeechToTextClient(
{
}

/// <summary>
/// Creates a new instance of the SpeechToTextClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public SpeechToTextClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Inworld.EndPointAuthorization>? authorizations,
global::Inworld.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the SpeechToTextClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Inworld/Generated/Inworld.TextToSpeechClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public TextToSpeechClient(
{
}

/// <summary>
/// Creates a new instance of the TextToSpeechClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public TextToSpeechClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Inworld.EndPointAuthorization>? authorizations,
global::Inworld.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the TextToSpeechClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
21 changes: 21 additions & 0 deletions src/libs/Inworld/Generated/Inworld.VoicesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,27 @@ public VoicesClient(
{
}

/// <summary>
/// Creates a new instance of the VoicesClient with explicit options but no base URL override.
/// Skips passing <c>baseUri</c> so the default base URL from the OpenAPI spec applies.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="authorizations">The authorizations to use for the requests.</param>
/// <param name="options">Client-wide request defaults such as headers, query parameters, retries, and timeout.</param>
/// <param name="disposeHttpClient">Dispose the HttpClient when the instance is disposed. True by default.</param>
public VoicesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::Inworld.EndPointAuthorization>? authorizations,
global::Inworld.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the VoicesClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Loading