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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
750 changes: 468 additions & 282 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.AclBatchUpdate.g.cs

Large diffs are not rendered by default.

773 changes: 478 additions & 295 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.AclListOrg.g.cs

Large diffs are not rendered by default.

750 changes: 468 additions & 282 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.DeleteAcl.g.cs

Large diffs are not rendered by default.

721 changes: 452 additions & 269 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.DeleteAclId.g.cs

Large diffs are not rendered by default.

769 changes: 476 additions & 293 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.GetAcl.g.cs

Large diffs are not rendered by default.

721 changes: 452 additions & 269 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.GetAclId.g.cs

Large diffs are not rendered by default.

750 changes: 468 additions & 282 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.PostAcl.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Braintrust/Generated/Braintrust.AclsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public sealed partial class AclsClient : global::Braintrust.IAclsClient, global:
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Braintrust.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -49,11 +52,37 @@ public AclsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Braintrust.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AclsClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</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 = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Braintrust.EndPointAuthorization>? authorizations = null,
global::Braintrust.AutoSDKClientOptions? options = null,
bool disposeHttpClient = true)
{

HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Braintrust.EndPointAuthorization>();
Options = options ?? new global::Braintrust.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

753 changes: 468 additions & 285 deletions src/libs/Braintrust/Generated/Braintrust.AiSecretsClient.GetAiSecret.g.cs

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

750 changes: 468 additions & 282 deletions src/libs/Braintrust/Generated/Braintrust.AiSecretsClient.PutAiSecret.g.cs

Large diffs are not rendered by default.

29 changes: 29 additions & 0 deletions src/libs/Braintrust/Generated/Braintrust.AiSecretsClient.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ public sealed partial class AiSecretsClient : global::Braintrust.IAiSecretsClien
#if DEBUG
= true;
#endif

/// <inheritdoc/>
public global::Braintrust.AutoSDKClientOptions Options { get; }
/// <summary>
///
/// </summary>
Expand All @@ -49,11 +52,37 @@ public AiSecretsClient(
global::System.Net.Http.HttpClient? httpClient = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Braintrust.EndPointAuthorization>? authorizations = null,
bool disposeHttpClient = true) : this(
httpClient,
baseUri,
authorizations,
options: null,
disposeHttpClient: disposeHttpClient)
{
}

/// <summary>
/// Creates a new instance of the AiSecretsClient.
/// If no httpClient is provided, a new one will be created.
/// If no baseUri is provided, the default baseUri from OpenAPI spec will be used.
/// </summary>
/// <param name="httpClient">The HttpClient instance. If not provided, a new one will be created.</param>
/// <param name="baseUri">The base URL for the API. If not provided, the default baseUri from OpenAPI spec will be used.</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 = null,
global::System.Uri? baseUri = null,
global::System.Collections.Generic.List<global::Braintrust.EndPointAuthorization>? authorizations = null,
global::Braintrust.AutoSDKClientOptions? options = null,
bool disposeHttpClient = true)
{

HttpClient = httpClient ?? new global::System.Net.Http.HttpClient();
HttpClient.BaseAddress ??= baseUri ?? new global::System.Uri(DefaultBaseUrl);
Authorizations = authorizations ?? new global::System.Collections.Generic.List<global::Braintrust.EndPointAuthorization>();
Options = options ?? new global::Braintrust.AutoSDKClientOptions();
_disposeHttpClient = disposeHttpClient;

Initialized(HttpClient);
Expand Down
Loading