diff --git a/src/libs/Guardrails/Generated/Guardrails.GuardClient.g.cs b/src/libs/Guardrails/Generated/Guardrails.GuardClient.g.cs index c8c441c..262005b 100644 --- a/src/libs/Guardrails/Generated/Guardrails.GuardClient.g.cs +++ b/src/libs/Guardrails/Generated/Guardrails.GuardClient.g.cs @@ -61,6 +61,27 @@ public GuardClient( { } + /// + /// Creates a new instance of the GuardClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public GuardClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Guardrails.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the GuardClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/Guardrails/Generated/Guardrails.GuardrailsClient.g.cs b/src/libs/Guardrails/Generated/Guardrails.GuardrailsClient.g.cs index 7bd5720..d91b072 100644 --- a/src/libs/Guardrails/Generated/Guardrails.GuardrailsClient.g.cs +++ b/src/libs/Guardrails/Generated/Guardrails.GuardrailsClient.g.cs @@ -98,6 +98,27 @@ public GuardrailsClient( { } + /// + /// Creates a new instance of the GuardrailsClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public GuardrailsClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Guardrails.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the GuardrailsClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/Guardrails/Generated/Guardrails.OpenaiClient.g.cs b/src/libs/Guardrails/Generated/Guardrails.OpenaiClient.g.cs index f473bfb..d6da613 100644 --- a/src/libs/Guardrails/Generated/Guardrails.OpenaiClient.g.cs +++ b/src/libs/Guardrails/Generated/Guardrails.OpenaiClient.g.cs @@ -61,6 +61,27 @@ public OpenaiClient( { } + /// + /// Creates a new instance of the OpenaiClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public OpenaiClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Guardrails.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the OpenaiClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/Guardrails/Generated/Guardrails.ServiceHealthClient.g.cs b/src/libs/Guardrails/Generated/Guardrails.ServiceHealthClient.g.cs index 265e746..a5f12f6 100644 --- a/src/libs/Guardrails/Generated/Guardrails.ServiceHealthClient.g.cs +++ b/src/libs/Guardrails/Generated/Guardrails.ServiceHealthClient.g.cs @@ -61,6 +61,27 @@ public ServiceHealthClient( { } + /// + /// Creates a new instance of the ServiceHealthClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public ServiceHealthClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Guardrails.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the ServiceHealthClient. /// If no httpClient is provided, a new one will be created. diff --git a/src/libs/Guardrails/Generated/Guardrails.ValidateClient.g.cs b/src/libs/Guardrails/Generated/Guardrails.ValidateClient.g.cs index 309d85a..b691de7 100644 --- a/src/libs/Guardrails/Generated/Guardrails.ValidateClient.g.cs +++ b/src/libs/Guardrails/Generated/Guardrails.ValidateClient.g.cs @@ -61,6 +61,27 @@ public ValidateClient( { } + /// + /// Creates a new instance of the ValidateClient with explicit options but no base URL override. + /// Skips passing baseUri so the default base URL from the OpenAPI spec applies. + /// + /// The HttpClient instance. If not provided, a new one will be created. + /// The authorizations to use for the requests. + /// Client-wide request defaults such as headers, query parameters, retries, and timeout. + /// Dispose the HttpClient when the instance is disposed. True by default. + public ValidateClient( + global::System.Net.Http.HttpClient? httpClient, + global::System.Collections.Generic.List? authorizations, + global::Guardrails.AutoSDKClientOptions? options, + bool disposeHttpClient = true) : this( + httpClient, + baseUri: null, + authorizations, + options, + disposeHttpClient: disposeHttpClient) + { + } + /// /// Creates a new instance of the ValidateClient. /// If no httpClient is provided, a new one will be created.