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

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

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

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

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

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

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

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

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

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

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

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

/// <summary>
/// Creates a new instance of the CrossObjectClient.
/// If no httpClient is provided, a new one will be created.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,27 @@ public DatasetSnapshotsClient(
{
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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