From d68c34c4c6bd1917caa3b20bf31ba75d77fbce8a Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 29 Aug 2024 12:22:11 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Leonardo/Generated/Leonardo.DatasetClient.g.cs | 4 ++++ .../Leonardo/Generated/Leonardo.ElementsClient.g.cs | 4 ++++ src/libs/Leonardo/Generated/Leonardo.ImageClient.g.cs | 4 ++++ .../Leonardo/Generated/Leonardo.InitImagesClient.g.cs | 4 ++++ .../Leonardo.LeonardoApi.Constructors.Bearer.g.cs | 10 ++++++++++ src/libs/Leonardo/Generated/Leonardo.LeonardoApi.g.cs | 4 ++++ src/libs/Leonardo/Generated/Leonardo.ModelsClient.g.cs | 4 ++++ src/libs/Leonardo/Generated/Leonardo.MotionClient.g.cs | 4 ++++ .../Generated/Leonardo.PricingCalculatorClient.g.cs | 4 ++++ src/libs/Leonardo/Generated/Leonardo.PromptClient.g.cs | 4 ++++ .../Generated/Leonardo.RealtimeCanvasClient.g.cs | 4 ++++ .../Leonardo/Generated/Leonardo.TextureClient.g.cs | 4 ++++ src/libs/Leonardo/Generated/Leonardo.UserClient.g.cs | 4 ++++ .../Leonardo/Generated/Leonardo.VariationClient.g.cs | 4 ++++ .../Generated/Leonardo.x3DModelAssetsClient.g.cs | 4 ++++ 15 files changed, 66 insertions(+) diff --git a/src/libs/Leonardo/Generated/Leonardo.DatasetClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.DatasetClient.g.cs index 3cd46c5..b742aa4 100644 --- a/src/libs/Leonardo/Generated/Leonardo.DatasetClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.DatasetClient.g.cs @@ -31,6 +31,8 @@ public DatasetClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.ElementsClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.ElementsClient.g.cs index 81b9bcd..9bcca74 100644 --- a/src/libs/Leonardo/Generated/Leonardo.ElementsClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.ElementsClient.g.cs @@ -31,6 +31,8 @@ public ElementsClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.ImageClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.ImageClient.g.cs index b83c538..51a2731 100644 --- a/src/libs/Leonardo/Generated/Leonardo.ImageClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.ImageClient.g.cs @@ -31,6 +31,8 @@ public ImageClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.InitImagesClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.InitImagesClient.g.cs index f8562c1..a20bb19 100644 --- a/src/libs/Leonardo/Generated/Leonardo.InitImagesClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.InitImagesClient.g.cs @@ -31,6 +31,8 @@ public InitImagesClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.Constructors.Bearer.g.cs b/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.Constructors.Bearer.g.cs index 16c0c90..5620c3e 100644 --- a/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.Constructors.Bearer.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.Constructors.Bearer.g.cs @@ -11,7 +11,17 @@ public LeonardoApi( global::System.Net.Http.HttpClient? httpClient = null, global::System.Uri? baseUri = null) : this(httpClient, baseUri) { + Authorizing(_httpClient, ref apiKey); + AuthorizeUsingBearer(apiKey); + + Authorized(_httpClient); } + + partial void Authorizing( + global::System.Net.Http.HttpClient client, + ref string apiKey); + partial void Authorized( + global::System.Net.Http.HttpClient client); } } \ No newline at end of file diff --git a/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.g.cs b/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.g.cs index 4375cd7..57601ca 100644 --- a/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.LeonardoApi.g.cs @@ -97,6 +97,8 @@ public LeonardoApi( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -105,6 +107,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.ModelsClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.ModelsClient.g.cs index 63b226a..2d25791 100644 --- a/src/libs/Leonardo/Generated/Leonardo.ModelsClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.ModelsClient.g.cs @@ -31,6 +31,8 @@ public ModelsClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.MotionClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.MotionClient.g.cs index 282aca6..1fb5ff3 100644 --- a/src/libs/Leonardo/Generated/Leonardo.MotionClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.MotionClient.g.cs @@ -31,6 +31,8 @@ public MotionClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.PricingCalculatorClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.PricingCalculatorClient.g.cs index 9b2f257..5aa7be4 100644 --- a/src/libs/Leonardo/Generated/Leonardo.PricingCalculatorClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.PricingCalculatorClient.g.cs @@ -31,6 +31,8 @@ public PricingCalculatorClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.PromptClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.PromptClient.g.cs index 12aa325..c00ce78 100644 --- a/src/libs/Leonardo/Generated/Leonardo.PromptClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.PromptClient.g.cs @@ -31,6 +31,8 @@ public PromptClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.RealtimeCanvasClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.RealtimeCanvasClient.g.cs index e8db645..9d58131 100644 --- a/src/libs/Leonardo/Generated/Leonardo.RealtimeCanvasClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.RealtimeCanvasClient.g.cs @@ -31,6 +31,8 @@ public RealtimeCanvasClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.TextureClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.TextureClient.g.cs index 886b315..232113d 100644 --- a/src/libs/Leonardo/Generated/Leonardo.TextureClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.TextureClient.g.cs @@ -31,6 +31,8 @@ public TextureClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.UserClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.UserClient.g.cs index a05f86f..a22e3a4 100644 --- a/src/libs/Leonardo/Generated/Leonardo.UserClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.UserClient.g.cs @@ -31,6 +31,8 @@ public UserClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.VariationClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.VariationClient.g.cs index 00c9b65..699324d 100644 --- a/src/libs/Leonardo/Generated/Leonardo.VariationClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.VariationClient.g.cs @@ -31,6 +31,8 @@ public VariationClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest( diff --git a/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.g.cs b/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.g.cs index 75b97a3..f2f6abd 100644 --- a/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.g.cs +++ b/src/libs/Leonardo/Generated/Leonardo.x3DModelAssetsClient.g.cs @@ -31,6 +31,8 @@ public x3DModelAssetsClient( { _httpClient = httpClient ?? new global::System.Net.Http.HttpClient(); _httpClient.BaseAddress ??= baseUri ?? new global::System.Uri(BaseUrl); + + Initialized(_httpClient); } /// @@ -39,6 +41,8 @@ public void Dispose() _httpClient.Dispose(); } + partial void Initialized( + global::System.Net.Http.HttpClient client); partial void PrepareArguments( global::System.Net.Http.HttpClient client); partial void PrepareRequest(