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/MiniMax/Generated/MiniMax.FilesClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,27 @@ public FilesClient(
{
}

/// <summary>
/// Creates a new instance of the FilesClient 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 FilesClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::MiniMax.EndPointAuthorization>? authorizations,
global::MiniMax.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the MiniMaxClient 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 MiniMaxClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::MiniMax.EndPointAuthorization>? authorizations,
global::MiniMax.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the MusicClient 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 MusicClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::MiniMax.EndPointAuthorization>? authorizations,
global::MiniMax.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the SpeechClient 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 SpeechClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::MiniMax.EndPointAuthorization>? authorizations,
global::MiniMax.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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

/// <summary>
/// Creates a new instance of the VideoClient 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 VideoClient(
global::System.Net.Http.HttpClient? httpClient,
global::System.Collections.Generic.List<global::MiniMax.EndPointAuthorization>? authorizations,
global::MiniMax.AutoSDKClientOptions? options,
bool disposeHttpClient = true) : this(
httpClient,
baseUri: null,
authorizations,
options,
disposeHttpClient: disposeHttpClient)
{
}

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