From 76887b29daf351cf6ca0131f32d77c59bc956cf5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 28 Sep 2026 02:09:22 +0000 Subject: [PATCH] feat: Updated OpenAPI spec --- .../Generated/Mubert.AutoSDKHttpResponse.g.cs | 4 +-- ...cessTokenCustomerServiceIndexResource.g.cs | 2 +- ...erters.AccessTokenCustomerServiceShow.g.cs | 2 +- ...erters.AccessTokenIndexPublicResource.g.cs | 2 +- ...verters.AccessTokenShowPublicResource.g.cs | 2 +- ...s.CompanyCustomerServiceIndexResource.g.cs | 2 +- ...Converters.CompanyCustomerServiceShow.g.cs | 2 +- ...Converters.CompanyIndexPublicResource.g.cs | 2 +- ...nConverters.CompanyShowPublicResource.g.cs | 2 +- ...erCustomerServiceShowResourceResource.g.cs | 4 +-- ...enseLimitCustomerServiceIndexResource.g.cs | 2 +- ...stomerLicenseLimitCustomerServiceShow.g.cs | 2 +- ...stomerLicenseLimitIndexPublicResource.g.cs | 2 +- ...ustomerLicenseLimitShowPublicResource.g.cs | 2 +- ...Converters.CustomerShowPublicResource.g.cs | 4 +-- ...onverters.LicenseCustomerServiceIndex.g.cs | 2 +- ...Converters.LicenseIndexPublicResource.g.cs | 2 +- ...Converters.MetadataPaginationSortable.g.cs | 4 +-- ....PlaylistCustomerServiceIndexResource.g.cs | 2 +- ...onverters.PlaylistIndexPublicResource.g.cs | 2 +- ...ers.TrackCustomerServiceIndexResource.g.cs | 4 +-- ...onConverters.TrackCustomerServiceShow.g.cs | 4 +-- ...enerationCustomerServiceIndexResource.g.cs | 2 +- ...rs.TrackGenerationCustomerServiceShow.g.cs | 4 +-- ...rs.TrackGenerationIndexPublicResource.g.cs | 2 +- ...ers.TrackGenerationShowPublicResource.g.cs | 4 +-- ...onConverters.TrackIndexPublicResource.g.cs | 4 +-- ...sonConverters.TrackShowPublicResource.g.cs | 4 +-- ...rackStoreCustomerServiceIndexResource.g.cs | 2 +- ...verters.TrackStoreIndexPublicResource.g.cs | 2 +- ...cessTokenCustomerServiceIndexResource.g.cs | 16 +++++----- ...Models.AccessTokenCustomerServiceShow.g.cs | 16 +++++----- ...Models.AccessTokenIndexPublicResource.g.cs | 16 +++++----- ....Models.AccessTokenShowPublicResource.g.cs | 16 +++++----- ...s.CompanyCustomerServiceIndexResource.g.cs | 16 +++++----- ...ert.Models.CompanyCustomerServiceShow.g.cs | 16 +++++----- ...ert.Models.CompanyIndexPublicResource.g.cs | 16 +++++----- ...bert.Models.CompanyShowPublicResource.g.cs | 16 +++++----- ...erCustomerServiceShowResourceResource.g.cs | 32 +++++++++---------- ...enseLimitCustomerServiceIndexResource.g.cs | 16 +++++----- ...stomerLicenseLimitCustomerServiceShow.g.cs | 16 +++++----- ...stomerLicenseLimitIndexPublicResource.g.cs | 16 +++++----- ...ustomerLicenseLimitShowPublicResource.g.cs | 16 +++++----- ...ert.Models.CustomerShowPublicResource.g.cs | 32 +++++++++---------- ...rt.Models.LicenseCustomerServiceIndex.g.cs | 16 +++++----- ...ert.Models.LicenseIndexPublicResource.g.cs | 16 +++++----- ...ert.Models.MetadataPaginationSortable.g.cs | 32 +++++++++---------- ....PlaylistCustomerServiceIndexResource.g.cs | 16 +++++----- ...rt.Models.PlaylistIndexPublicResource.g.cs | 16 +++++----- ...els.TrackCustomerServiceIndexResource.g.cs | 32 +++++++++---------- ...ubert.Models.TrackCustomerServiceShow.g.cs | 32 +++++++++---------- ...enerationCustomerServiceIndexResource.g.cs | 16 +++++----- ...ls.TrackGenerationCustomerServiceShow.g.cs | 32 +++++++++---------- ...ls.TrackGenerationIndexPublicResource.g.cs | 16 +++++----- ...els.TrackGenerationShowPublicResource.g.cs | 32 +++++++++---------- ...ubert.Models.TrackIndexPublicResource.g.cs | 32 +++++++++---------- ...Mubert.Models.TrackShowPublicResource.g.cs | 32 +++++++++---------- ...rackStoreCustomerServiceIndexResource.g.cs | 16 +++++----- ....Models.TrackStoreIndexPublicResource.g.cs | 16 +++++----- ...licClient.GetPublicMusicLibraryParams.g.cs | 10 +++--- ...licClient.GetPublicMusicLibraryTracks.g.cs | 10 +++--- ...ubert.PublicClient.GetPublicPlaylists.g.cs | 10 +++--- .../Mubert.PublicClient.GetPublicPrices.g.cs | 10 +++--- ...t.PublicClient.GetPublicPricesByPrice.g.cs | 12 +++---- ...ublicClient.GetPublicStreamingGetLink.g.cs | 12 +++---- ...ublicClient.GetPublicSubscriptionsBuy.g.cs | 10 +++--- ...icClient.GetPublicSubscriptionsCancel.g.cs | 10 +++--- .../Mubert.PublicClient.GetPublicTracks.g.cs | 10 +++--- ...t.PublicClient.GetPublicTracksByTrack.g.cs | 12 +++---- ...ent.GetPublicTracksSessionBySessionId.g.cs | 14 ++++---- ...blicClient.PostPublicStreamingRestart.g.cs | 10 +++--- ...lient.PostPublicStreamingSetIntensity.g.cs | 10 +++--- ...lient.PostPublicStreamingSetLoopState.g.cs | 10 +++--- ....PublicClient.PostPublicStripeWebhook.g.cs | 10 +++--- ...blicClient.PostPublicSubscriptionsBuy.g.cs | 10 +++--- ...cClient.PostPublicSubscriptionsCancel.g.cs | 10 +++--- .../Mubert.PublicClient.PostPublicTracks.g.cs | 10 +++--- ...licClient.PostPublicTracksByTrackEdit.g.cs | 12 +++---- ...Client.PostPublicTracksByTrackSimilar.g.cs | 12 +++---- ...t.PublicClient.PostPublicTracksRecord.g.cs | 10 +++--- ...t.PublicClient.PostPublicTracksStored.g.cs | 10 +++--- ...ient.DeleteServiceCustomersByCustomer.g.cs | 12 +++---- ...blicServiceClient.GetServiceCustomers.g.cs | 10 +++--- ...eClient.GetServiceCustomersByCustomer.g.cs | 12 +++---- ...GetServiceCustomersCustomIdByCustomid.g.cs | 12 +++---- ...ublicServiceClient.GetServiceLicenses.g.cs | 10 +++--- ...iceClient.GetServiceLicensesByLicense.g.cs | 12 +++---- ...licServiceClient.PostServiceCustomers.g.cs | 10 +++--- ...eClient.PutServiceCustomersByCustomer.g.cs | 12 +++---- ...iceClient.PutServiceLicensesByLicense.g.cs | 12 +++---- ...eClient.GetServiceStripeBillingPortal.g.cs | 10 +++--- ...ient.GetServiceStripeSubscriptionsBuy.g.cs | 10 +++--- ...t.GetServiceStripeSubscriptionsCancel.g.cs | 10 +++--- ...Client.PostServiceStripeBillingPortal.g.cs | 10 +++--- ...ent.PostServiceStripeSubscriptionsBuy.g.cs | 10 +++--- ....PostServiceStripeSubscriptionsCancel.g.cs | 10 +++--- 96 files changed, 542 insertions(+), 542 deletions(-) diff --git a/src/libs/Mubert/Generated/Mubert.AutoSDKHttpResponse.g.cs b/src/libs/Mubert/Generated/Mubert.AutoSDKHttpResponse.g.cs index cc3e1d9..d2d1664 100644 --- a/src/libs/Mubert/Generated/Mubert.AutoSDKHttpResponse.g.cs +++ b/src/libs/Mubert/Generated/Mubert.AutoSDKHttpResponse.g.cs @@ -164,9 +164,9 @@ public static class AutoSDKConditionalRequests { send = send ?? throw new global::System.ArgumentNullException(nameof(send)); requestOptions = CloneRequestOptions(requestOptions); - if (!string.IsNullOrWhiteSpace(entityTag)) + if (entityTag is { } nonEmptyEntityTag && !string.IsNullOrWhiteSpace(nonEmptyEntityTag)) { - requestOptions.Headers["If-None-Match"] = entityTag!; + requestOptions.Headers["If-None-Match"] = nonEmptyEntityTag; } try diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceIndexResource.g.cs index e89db39..ae1a99e 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceIndexResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.AccessTokenServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.AccessTokenServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.AccessTokenServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAccessTokenServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceShow.g.cs index 726f0f0..27c9531 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenCustomerServiceShow.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.AccessTokenServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.AccessTokenServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Resource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenIndexPublicResource.g.cs index c5097d5..8a12219 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.AccessTokenPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.AccessTokenPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.AccessTokenPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAccessTokenPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenShowPublicResource.g.cs index 4196fae..7e215b4 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.AccessTokenShowPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.AccessTokenPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.AccessTokenPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.AccessTokenPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickAccessTokenPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceIndexResource.g.cs index 36956cd..924a9c8 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceIndexResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CompanyServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CompanyServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CompanyServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCompanyServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceShow.g.cs index 075dc0e..5db32dd 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyCustomerServiceShow.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CompanyServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CompanyServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Resource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyIndexPublicResource.g.cs index b0b864a..8df2ca8 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CompanyPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CompanyPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CompanyPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCompanyPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyShowPublicResource.g.cs index 61973a2..3fee00f 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CompanyShowPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CompanyPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CompanyPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CompanyPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCompanyPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerCustomerServiceShowResourceResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerCustomerServiceShowResourceResource.g.cs index d1784a3..0409b36 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerCustomerServiceShowResourceResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerCustomerServiceShowResourceResource.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerCustomerServiceShowResourceResourceVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerCustomerServiceShowResourceResourceVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerCustomerServiceShowResourceResourceVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerCustomerServiceShowResourceResourceVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceIndexResource.g.cs index 69a9fa9..579ca73 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceIndexResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerLicenseLimitServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerLicenseLimitServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerLicenseLimitServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerLicenseLimitServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceShow.g.cs index bbfe8ff..96d6359 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitCustomerServiceShow.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerLicenseLimitServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerLicenseLimitServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Resource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitIndexPublicResource.g.cs index a996f4d..8a08d30 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerLicenseLimitPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerLicenseLimitPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerLicenseLimitPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerLicenseLimitPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitShowPublicResource.g.cs index e4cfbb8..34e03ab 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerLicenseLimitShowPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerLicenseLimitPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerLicenseLimitPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerLicenseLimitPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerLicenseLimitPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerShowPublicResource.g.cs index 39fe0cb..577526c 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.CustomerShowPublicResource.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.CustomerShowPublicResourceVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.CustomerShowPublicResourceVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.CustomerShowPublicResourceVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickCustomerShowPublicResourceVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseCustomerServiceIndex.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseCustomerServiceIndex.g.cs index 324ae9d..1403201 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseCustomerServiceIndex.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseCustomerServiceIndex.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.LicenseServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.LicenseServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Resource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseIndexPublicResource.g.cs index f8881c0..a45e29e 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.LicenseIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.LicensePublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.LicensePublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.LicensePublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickLicensePublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.MetadataPaginationSortable.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.MetadataPaginationSortable.g.cs index b2966b7..a15a154 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.MetadataPaginationSortable.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.MetadataPaginationSortable.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.MetadataPagination), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.MetadataPagination).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.MetadataPagination!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickMetadataPagination(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.MetadataPaginationSortableVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.MetadataPaginationSortableVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.MetadataPaginationSortableVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickMetadataPaginationSortableVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistCustomerServiceIndexResource.g.cs index 1958f6a..90d1175 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistCustomerServiceIndexResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.PlaylistServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.PlaylistServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PlaylistServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickPlaylistServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistIndexPublicResource.g.cs index 55ebca7..e63a46c 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.PlaylistIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.PlaylistPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.PlaylistPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PlaylistPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickPlaylistPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceIndexResource.g.cs index b01fd97..7baca0a 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceIndexResource.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackCustomerServiceIndexResourceVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackCustomerServiceIndexResourceVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackCustomerServiceIndexResourceVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackCustomerServiceIndexResourceVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceShow.g.cs index 69c3a32..5f38766 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackCustomerServiceShow.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Resource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackCustomerServiceShowVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackCustomerServiceShowVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackCustomerServiceShowVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackCustomerServiceShowVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceIndexResource.g.cs index 3962d3a..076d9da 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceIndexResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackGenerationServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackGenerationServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackGenerationServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackGenerationServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceShow.g.cs index e57cd0f..464c469 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationCustomerServiceShow.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackGenerationServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackGenerationServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.Resource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackGenerationCustomerServiceShowVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackGenerationCustomerServiceShowVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackGenerationCustomerServiceShowVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackGenerationCustomerServiceShowVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationIndexPublicResource.g.cs index 4288c05..b6e8db1 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackGenerationPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackGenerationPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackGenerationPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackGenerationPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationShowPublicResource.g.cs index b8c6b56..16a1393 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackGenerationShowPublicResource.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackGenerationPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackGenerationPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackGenerationPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackGenerationPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackGenerationShowPublicResourceVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackGenerationShowPublicResourceVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackGenerationShowPublicResourceVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackGenerationShowPublicResourceVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackIndexPublicResource.g.cs index 4ab64d6..8a8796f 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackIndexPublicResource.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackIndexPublicResourceVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackIndexPublicResourceVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackIndexPublicResourceVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackIndexPublicResourceVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackShowPublicResource.g.cs index 5cbb03f..d3d071e 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackShowPublicResource.g.cs @@ -70,7 +70,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackPublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackPublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackPublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackPublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); @@ -88,7 +88,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackShowPublicResourceVariant2), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackShowPublicResourceVariant2).Name}"); - var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackShowPublicResourceVariant2!, typeInfo); + var __element1 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackShowPublicResourceVariant2(), typeInfo); if (__element1.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreCustomerServiceIndexResource.g.cs index b493e40..65f6e32 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreCustomerServiceIndexResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackStoreServiceResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackStoreServiceResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackStoreServiceResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackStoreServiceResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreIndexPublicResource.g.cs index d013418..69d296a 100644 --- a/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.JsonConverters.TrackStoreIndexPublicResource.g.cs @@ -54,7 +54,7 @@ public override void Write( { var typeInfo = typeInfoResolver.GetTypeInfo(typeof(global::Mubert.TrackStorePublicResource), options) as global::System.Text.Json.Serialization.Metadata.JsonTypeInfo ?? throw new global::System.InvalidOperationException($"Cannot get type info for {typeof(global::Mubert.TrackStorePublicResource).Name}"); - var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.TrackStorePublicResource!, typeInfo); + var __element0 = global::System.Text.Json.JsonSerializer.SerializeToElement(value.PickTrackStorePublicResource(), typeInfo); if (__element0.ValueKind != global::System.Text.Json.JsonValueKind.Object) { throw new global::System.Text.Json.JsonException("AllOf values must serialize as JSON objects."); diff --git a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceIndexResource.g.cs index bba427c..e8c1eea 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickAccessTokenServiceResource( /// /// /// - public global::Mubert.AccessTokenServiceResource PickAccessTokenServiceResource() => IsAccessTokenServiceResource - ? AccessTokenServiceResource! + public global::Mubert.AccessTokenServiceResource PickAccessTokenServiceResource() => AccessTokenServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AccessTokenServiceResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsAccessTokenServiceResource && accessTokenServiceResource != null) + if (AccessTokenServiceResource is { } __value0 && accessTokenServiceResource != null) { - return accessTokenServiceResource(AccessTokenServiceResource!); + return accessTokenServiceResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsAccessTokenServiceResource) + if (AccessTokenServiceResource is { } __value0) { - accessTokenServiceResource?.Invoke(AccessTokenServiceResource!); + accessTokenServiceResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsAccessTokenServiceResource) + if (AccessTokenServiceResource is { } __value0) { - accessTokenServiceResource?.Invoke(AccessTokenServiceResource!); + accessTokenServiceResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceShow.g.cs index 2bf0377..3c01448 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenCustomerServiceShow.g.cs @@ -42,8 +42,8 @@ public bool TryPickResource( /// /// /// - public global::Mubert.AccessTokenServiceResource PickResource() => IsResource - ? Resource! + public global::Mubert.AccessTokenServiceResource PickResource() => Resource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Resource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsResource && resource != null) + if (Resource is { } __value0 && resource != null) { - return resource(Resource!); + return resource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenIndexPublicResource.g.cs index 0f1c665..73e0695 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickAccessTokenPublicResource( /// /// /// - public global::Mubert.AccessTokenPublicResource PickAccessTokenPublicResource() => IsAccessTokenPublicResource - ? AccessTokenPublicResource! + public global::Mubert.AccessTokenPublicResource PickAccessTokenPublicResource() => AccessTokenPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AccessTokenPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsAccessTokenPublicResource && accessTokenPublicResource != null) + if (AccessTokenPublicResource is { } __value0 && accessTokenPublicResource != null) { - return accessTokenPublicResource(AccessTokenPublicResource!); + return accessTokenPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsAccessTokenPublicResource) + if (AccessTokenPublicResource is { } __value0) { - accessTokenPublicResource?.Invoke(AccessTokenPublicResource!); + accessTokenPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsAccessTokenPublicResource) + if (AccessTokenPublicResource is { } __value0) { - accessTokenPublicResource?.Invoke(AccessTokenPublicResource!); + accessTokenPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenShowPublicResource.g.cs index 9a3d209..d7728c3 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.AccessTokenShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.AccessTokenShowPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickAccessTokenPublicResource( /// /// /// - public global::Mubert.AccessTokenPublicResource PickAccessTokenPublicResource() => IsAccessTokenPublicResource - ? AccessTokenPublicResource! + public global::Mubert.AccessTokenPublicResource PickAccessTokenPublicResource() => AccessTokenPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'AccessTokenPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsAccessTokenPublicResource && accessTokenPublicResource != null) + if (AccessTokenPublicResource is { } __value0 && accessTokenPublicResource != null) { - return accessTokenPublicResource(AccessTokenPublicResource!); + return accessTokenPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsAccessTokenPublicResource) + if (AccessTokenPublicResource is { } __value0) { - accessTokenPublicResource?.Invoke(AccessTokenPublicResource!); + accessTokenPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsAccessTokenPublicResource) + if (AccessTokenPublicResource is { } __value0) { - accessTokenPublicResource?.Invoke(AccessTokenPublicResource!); + accessTokenPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceIndexResource.g.cs index 61b7235..4953385 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCompanyServiceResource( /// /// /// - public global::Mubert.CompanyServiceResource PickCompanyServiceResource() => IsCompanyServiceResource - ? CompanyServiceResource! + public global::Mubert.CompanyServiceResource PickCompanyServiceResource() => CompanyServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CompanyServiceResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsCompanyServiceResource && companyServiceResource != null) + if (CompanyServiceResource is { } __value0 && companyServiceResource != null) { - return companyServiceResource(CompanyServiceResource!); + return companyServiceResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsCompanyServiceResource) + if (CompanyServiceResource is { } __value0) { - companyServiceResource?.Invoke(CompanyServiceResource!); + companyServiceResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsCompanyServiceResource) + if (CompanyServiceResource is { } __value0) { - companyServiceResource?.Invoke(CompanyServiceResource!); + companyServiceResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceShow.g.cs index e30b011..65b3630 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CompanyCustomerServiceShow.g.cs @@ -42,8 +42,8 @@ public bool TryPickResource( /// /// /// - public global::Mubert.CompanyServiceResource PickResource() => IsResource - ? Resource! + public global::Mubert.CompanyServiceResource PickResource() => Resource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Resource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsResource && resource != null) + if (Resource is { } __value0 && resource != null) { - return resource(Resource!); + return resource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CompanyIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CompanyIndexPublicResource.g.cs index 26d7e7c..cf197d0 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CompanyIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CompanyIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCompanyPublicResource( /// /// /// - public global::Mubert.CompanyPublicResource PickCompanyPublicResource() => IsCompanyPublicResource - ? CompanyPublicResource! + public global::Mubert.CompanyPublicResource PickCompanyPublicResource() => CompanyPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CompanyPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsCompanyPublicResource && companyPublicResource != null) + if (CompanyPublicResource is { } __value0 && companyPublicResource != null) { - return companyPublicResource(CompanyPublicResource!); + return companyPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsCompanyPublicResource) + if (CompanyPublicResource is { } __value0) { - companyPublicResource?.Invoke(CompanyPublicResource!); + companyPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsCompanyPublicResource) + if (CompanyPublicResource is { } __value0) { - companyPublicResource?.Invoke(CompanyPublicResource!); + companyPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CompanyShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CompanyShowPublicResource.g.cs index 9f301e0..772e266 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CompanyShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CompanyShowPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCompanyPublicResource( /// /// /// - public global::Mubert.CompanyPublicResource PickCompanyPublicResource() => IsCompanyPublicResource - ? CompanyPublicResource! + public global::Mubert.CompanyPublicResource PickCompanyPublicResource() => CompanyPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CompanyPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsCompanyPublicResource && companyPublicResource != null) + if (CompanyPublicResource is { } __value0 && companyPublicResource != null) { - return companyPublicResource(CompanyPublicResource!); + return companyPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsCompanyPublicResource) + if (CompanyPublicResource is { } __value0) { - companyPublicResource?.Invoke(CompanyPublicResource!); + companyPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsCompanyPublicResource) + if (CompanyPublicResource is { } __value0) { - companyPublicResource?.Invoke(CompanyPublicResource!); + companyPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CustomerCustomerServiceShowResourceResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CustomerCustomerServiceShowResourceResource.g.cs index 79262b1..61cd54d 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CustomerCustomerServiceShowResourceResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CustomerCustomerServiceShowResourceResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCustomerServiceResource( /// /// /// - public global::Mubert.CustomerServiceResource PickCustomerServiceResource() => IsCustomerServiceResource - ? CustomerServiceResource! + public global::Mubert.CustomerServiceResource PickCustomerServiceResource() => CustomerServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerServiceResource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickCustomerCustomerServiceShowResourceResourceVariant2( /// /// /// - public global::Mubert.CustomerCustomerServiceShowResourceResourceVariant2 PickCustomerCustomerServiceShowResourceResourceVariant2() => IsCustomerCustomerServiceShowResourceResourceVariant2 - ? CustomerCustomerServiceShowResourceResourceVariant2! + public global::Mubert.CustomerCustomerServiceShowResourceResourceVariant2 PickCustomerCustomerServiceShowResourceResourceVariant2() => CustomerCustomerServiceShowResourceResourceVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerCustomerServiceShowResourceResourceVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsCustomerServiceResource && customerServiceResource != null) + if (CustomerServiceResource is { } __value0 && customerServiceResource != null) { - return customerServiceResource(CustomerServiceResource!); + return customerServiceResource(__value0); } - else if (IsCustomerCustomerServiceShowResourceResourceVariant2 && customerCustomerServiceShowResourceResourceVariant2 != null) + else if (CustomerCustomerServiceShowResourceResourceVariant2 is { } __value1 && customerCustomerServiceShowResourceResourceVariant2 != null) { - return customerCustomerServiceShowResourceResourceVariant2(CustomerCustomerServiceShowResourceResourceVariant2!); + return customerCustomerServiceShowResourceResourceVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsCustomerServiceResource) + if (CustomerServiceResource is { } __value0) { - customerServiceResource?.Invoke(CustomerServiceResource!); + customerServiceResource?.Invoke(__value0); } - else if (IsCustomerCustomerServiceShowResourceResourceVariant2) + else if (CustomerCustomerServiceShowResourceResourceVariant2 is { } __value1) { - customerCustomerServiceShowResourceResourceVariant2?.Invoke(CustomerCustomerServiceShowResourceResourceVariant2!); + customerCustomerServiceShowResourceResourceVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsCustomerServiceResource) + if (CustomerServiceResource is { } __value0) { - customerServiceResource?.Invoke(CustomerServiceResource!); + customerServiceResource?.Invoke(__value0); } - else if (IsCustomerCustomerServiceShowResourceResourceVariant2) + else if (CustomerCustomerServiceShowResourceResourceVariant2 is { } __value1) { - customerCustomerServiceShowResourceResourceVariant2?.Invoke(CustomerCustomerServiceShowResourceResourceVariant2!); + customerCustomerServiceShowResourceResourceVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceIndexResource.g.cs index 2faf094..7f93e23 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCustomerLicenseLimitServiceResource( /// /// /// - public global::Mubert.CustomerLicenseLimitServiceResource PickCustomerLicenseLimitServiceResource() => IsCustomerLicenseLimitServiceResource - ? CustomerLicenseLimitServiceResource! + public global::Mubert.CustomerLicenseLimitServiceResource PickCustomerLicenseLimitServiceResource() => CustomerLicenseLimitServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerLicenseLimitServiceResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsCustomerLicenseLimitServiceResource && customerLicenseLimitServiceResource != null) + if (CustomerLicenseLimitServiceResource is { } __value0 && customerLicenseLimitServiceResource != null) { - return customerLicenseLimitServiceResource(CustomerLicenseLimitServiceResource!); + return customerLicenseLimitServiceResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsCustomerLicenseLimitServiceResource) + if (CustomerLicenseLimitServiceResource is { } __value0) { - customerLicenseLimitServiceResource?.Invoke(CustomerLicenseLimitServiceResource!); + customerLicenseLimitServiceResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsCustomerLicenseLimitServiceResource) + if (CustomerLicenseLimitServiceResource is { } __value0) { - customerLicenseLimitServiceResource?.Invoke(CustomerLicenseLimitServiceResource!); + customerLicenseLimitServiceResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceShow.g.cs index b6895d9..0f1038d 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitCustomerServiceShow.g.cs @@ -42,8 +42,8 @@ public bool TryPickResource( /// /// /// - public global::Mubert.CustomerLicenseLimitServiceResource PickResource() => IsResource - ? Resource! + public global::Mubert.CustomerLicenseLimitServiceResource PickResource() => Resource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Resource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsResource && resource != null) + if (Resource is { } __value0 && resource != null) { - return resource(Resource!); + return resource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitIndexPublicResource.g.cs index e862024..d9d92ae 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCustomerLicenseLimitPublicResource( /// /// /// - public global::Mubert.CustomerLicenseLimitPublicResource PickCustomerLicenseLimitPublicResource() => IsCustomerLicenseLimitPublicResource - ? CustomerLicenseLimitPublicResource! + public global::Mubert.CustomerLicenseLimitPublicResource PickCustomerLicenseLimitPublicResource() => CustomerLicenseLimitPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerLicenseLimitPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsCustomerLicenseLimitPublicResource && customerLicenseLimitPublicResource != null) + if (CustomerLicenseLimitPublicResource is { } __value0 && customerLicenseLimitPublicResource != null) { - return customerLicenseLimitPublicResource(CustomerLicenseLimitPublicResource!); + return customerLicenseLimitPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsCustomerLicenseLimitPublicResource) + if (CustomerLicenseLimitPublicResource is { } __value0) { - customerLicenseLimitPublicResource?.Invoke(CustomerLicenseLimitPublicResource!); + customerLicenseLimitPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsCustomerLicenseLimitPublicResource) + if (CustomerLicenseLimitPublicResource is { } __value0) { - customerLicenseLimitPublicResource?.Invoke(CustomerLicenseLimitPublicResource!); + customerLicenseLimitPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitShowPublicResource.g.cs index 1b467b2..09fb87d 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CustomerLicenseLimitShowPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCustomerLicenseLimitPublicResource( /// /// /// - public global::Mubert.CustomerLicenseLimitPublicResource PickCustomerLicenseLimitPublicResource() => IsCustomerLicenseLimitPublicResource - ? CustomerLicenseLimitPublicResource! + public global::Mubert.CustomerLicenseLimitPublicResource PickCustomerLicenseLimitPublicResource() => CustomerLicenseLimitPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerLicenseLimitPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsCustomerLicenseLimitPublicResource && customerLicenseLimitPublicResource != null) + if (CustomerLicenseLimitPublicResource is { } __value0 && customerLicenseLimitPublicResource != null) { - return customerLicenseLimitPublicResource(CustomerLicenseLimitPublicResource!); + return customerLicenseLimitPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsCustomerLicenseLimitPublicResource) + if (CustomerLicenseLimitPublicResource is { } __value0) { - customerLicenseLimitPublicResource?.Invoke(CustomerLicenseLimitPublicResource!); + customerLicenseLimitPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsCustomerLicenseLimitPublicResource) + if (CustomerLicenseLimitPublicResource is { } __value0) { - customerLicenseLimitPublicResource?.Invoke(CustomerLicenseLimitPublicResource!); + customerLicenseLimitPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.CustomerShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.CustomerShowPublicResource.g.cs index 7faa6d9..847856f 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.CustomerShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.CustomerShowPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickCustomerPublicResource( /// /// /// - public global::Mubert.CustomerPublicResource PickCustomerPublicResource() => IsCustomerPublicResource - ? CustomerPublicResource! + public global::Mubert.CustomerPublicResource PickCustomerPublicResource() => CustomerPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerPublicResource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickCustomerShowPublicResourceVariant2( /// /// /// - public global::Mubert.CustomerShowPublicResourceVariant2 PickCustomerShowPublicResourceVariant2() => IsCustomerShowPublicResourceVariant2 - ? CustomerShowPublicResourceVariant2! + public global::Mubert.CustomerShowPublicResourceVariant2 PickCustomerShowPublicResourceVariant2() => CustomerShowPublicResourceVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'CustomerShowPublicResourceVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsCustomerPublicResource && customerPublicResource != null) + if (CustomerPublicResource is { } __value0 && customerPublicResource != null) { - return customerPublicResource(CustomerPublicResource!); + return customerPublicResource(__value0); } - else if (IsCustomerShowPublicResourceVariant2 && customerShowPublicResourceVariant2 != null) + else if (CustomerShowPublicResourceVariant2 is { } __value1 && customerShowPublicResourceVariant2 != null) { - return customerShowPublicResourceVariant2(CustomerShowPublicResourceVariant2!); + return customerShowPublicResourceVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsCustomerPublicResource) + if (CustomerPublicResource is { } __value0) { - customerPublicResource?.Invoke(CustomerPublicResource!); + customerPublicResource?.Invoke(__value0); } - else if (IsCustomerShowPublicResourceVariant2) + else if (CustomerShowPublicResourceVariant2 is { } __value1) { - customerShowPublicResourceVariant2?.Invoke(CustomerShowPublicResourceVariant2!); + customerShowPublicResourceVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsCustomerPublicResource) + if (CustomerPublicResource is { } __value0) { - customerPublicResource?.Invoke(CustomerPublicResource!); + customerPublicResource?.Invoke(__value0); } - else if (IsCustomerShowPublicResourceVariant2) + else if (CustomerShowPublicResourceVariant2 is { } __value1) { - customerShowPublicResourceVariant2?.Invoke(CustomerShowPublicResourceVariant2!); + customerShowPublicResourceVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.LicenseCustomerServiceIndex.g.cs b/src/libs/Mubert/Generated/Mubert.Models.LicenseCustomerServiceIndex.g.cs index 6f020a7..d49c9af 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.LicenseCustomerServiceIndex.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.LicenseCustomerServiceIndex.g.cs @@ -42,8 +42,8 @@ public bool TryPickResource( /// /// /// - public global::Mubert.LicenseServiceResource PickResource() => IsResource - ? Resource! + public global::Mubert.LicenseServiceResource PickResource() => Resource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Resource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsResource && resource != null) + if (Resource is { } __value0 && resource != null) { - return resource(Resource!); + return resource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.LicenseIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.LicenseIndexPublicResource.g.cs index c59390f..38df6fb 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.LicenseIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.LicenseIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickLicensePublicResource( /// /// /// - public global::Mubert.LicensePublicResource PickLicensePublicResource() => IsLicensePublicResource - ? LicensePublicResource! + public global::Mubert.LicensePublicResource PickLicensePublicResource() => LicensePublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'LicensePublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsLicensePublicResource && licensePublicResource != null) + if (LicensePublicResource is { } __value0 && licensePublicResource != null) { - return licensePublicResource(LicensePublicResource!); + return licensePublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsLicensePublicResource) + if (LicensePublicResource is { } __value0) { - licensePublicResource?.Invoke(LicensePublicResource!); + licensePublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsLicensePublicResource) + if (LicensePublicResource is { } __value0) { - licensePublicResource?.Invoke(LicensePublicResource!); + licensePublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.MetadataPaginationSortable.g.cs b/src/libs/Mubert/Generated/Mubert.Models.MetadataPaginationSortable.g.cs index 3bfed03..6652dbc 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.MetadataPaginationSortable.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.MetadataPaginationSortable.g.cs @@ -42,8 +42,8 @@ public bool TryPickMetadataPagination( /// /// /// - public global::Mubert.MetadataPagination PickMetadataPagination() => IsMetadataPagination - ? MetadataPagination! + public global::Mubert.MetadataPagination PickMetadataPagination() => MetadataPagination is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MetadataPagination' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickMetadataPaginationSortableVariant2( /// /// /// - public global::Mubert.MetadataPaginationSortableVariant2 PickMetadataPaginationSortableVariant2() => IsMetadataPaginationSortableVariant2 - ? MetadataPaginationSortableVariant2! + public global::Mubert.MetadataPaginationSortableVariant2 PickMetadataPaginationSortableVariant2() => MetadataPaginationSortableVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'MetadataPaginationSortableVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsMetadataPagination && metadataPagination != null) + if (MetadataPagination is { } __value0 && metadataPagination != null) { - return metadataPagination(MetadataPagination!); + return metadataPagination(__value0); } - else if (IsMetadataPaginationSortableVariant2 && metadataPaginationSortableVariant2 != null) + else if (MetadataPaginationSortableVariant2 is { } __value1 && metadataPaginationSortableVariant2 != null) { - return metadataPaginationSortableVariant2(MetadataPaginationSortableVariant2!); + return metadataPaginationSortableVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsMetadataPagination) + if (MetadataPagination is { } __value0) { - metadataPagination?.Invoke(MetadataPagination!); + metadataPagination?.Invoke(__value0); } - else if (IsMetadataPaginationSortableVariant2) + else if (MetadataPaginationSortableVariant2 is { } __value1) { - metadataPaginationSortableVariant2?.Invoke(MetadataPaginationSortableVariant2!); + metadataPaginationSortableVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsMetadataPagination) + if (MetadataPagination is { } __value0) { - metadataPagination?.Invoke(MetadataPagination!); + metadataPagination?.Invoke(__value0); } - else if (IsMetadataPaginationSortableVariant2) + else if (MetadataPaginationSortableVariant2 is { } __value1) { - metadataPaginationSortableVariant2?.Invoke(MetadataPaginationSortableVariant2!); + metadataPaginationSortableVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.PlaylistCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.PlaylistCustomerServiceIndexResource.g.cs index 763973a..de3999d 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.PlaylistCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.PlaylistCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickPlaylistServiceResource( /// /// /// - public global::Mubert.PlaylistServiceResource PickPlaylistServiceResource() => IsPlaylistServiceResource - ? PlaylistServiceResource! + public global::Mubert.PlaylistServiceResource PickPlaylistServiceResource() => PlaylistServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'PlaylistServiceResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsPlaylistServiceResource && playlistServiceResource != null) + if (PlaylistServiceResource is { } __value0 && playlistServiceResource != null) { - return playlistServiceResource(PlaylistServiceResource!); + return playlistServiceResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsPlaylistServiceResource) + if (PlaylistServiceResource is { } __value0) { - playlistServiceResource?.Invoke(PlaylistServiceResource!); + playlistServiceResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsPlaylistServiceResource) + if (PlaylistServiceResource is { } __value0) { - playlistServiceResource?.Invoke(PlaylistServiceResource!); + playlistServiceResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.PlaylistIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.PlaylistIndexPublicResource.g.cs index 8cf9338..ae205cb 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.PlaylistIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.PlaylistIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickPlaylistPublicResource( /// /// /// - public global::Mubert.PlaylistPublicResource PickPlaylistPublicResource() => IsPlaylistPublicResource - ? PlaylistPublicResource! + public global::Mubert.PlaylistPublicResource PickPlaylistPublicResource() => PlaylistPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'PlaylistPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsPlaylistPublicResource && playlistPublicResource != null) + if (PlaylistPublicResource is { } __value0 && playlistPublicResource != null) { - return playlistPublicResource(PlaylistPublicResource!); + return playlistPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsPlaylistPublicResource) + if (PlaylistPublicResource is { } __value0) { - playlistPublicResource?.Invoke(PlaylistPublicResource!); + playlistPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsPlaylistPublicResource) + if (PlaylistPublicResource is { } __value0) { - playlistPublicResource?.Invoke(PlaylistPublicResource!); + playlistPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceIndexResource.g.cs index 90ab4c5..699355b 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackServiceResource( /// /// /// - public global::Mubert.TrackServiceResource PickTrackServiceResource() => IsTrackServiceResource - ? TrackServiceResource! + public global::Mubert.TrackServiceResource PickTrackServiceResource() => TrackServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackServiceResource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickTrackCustomerServiceIndexResourceVariant2( /// /// /// - public global::Mubert.TrackCustomerServiceIndexResourceVariant2 PickTrackCustomerServiceIndexResourceVariant2() => IsTrackCustomerServiceIndexResourceVariant2 - ? TrackCustomerServiceIndexResourceVariant2! + public global::Mubert.TrackCustomerServiceIndexResourceVariant2 PickTrackCustomerServiceIndexResourceVariant2() => TrackCustomerServiceIndexResourceVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackCustomerServiceIndexResourceVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsTrackServiceResource && trackServiceResource != null) + if (TrackServiceResource is { } __value0 && trackServiceResource != null) { - return trackServiceResource(TrackServiceResource!); + return trackServiceResource(__value0); } - else if (IsTrackCustomerServiceIndexResourceVariant2 && trackCustomerServiceIndexResourceVariant2 != null) + else if (TrackCustomerServiceIndexResourceVariant2 is { } __value1 && trackCustomerServiceIndexResourceVariant2 != null) { - return trackCustomerServiceIndexResourceVariant2(TrackCustomerServiceIndexResourceVariant2!); + return trackCustomerServiceIndexResourceVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsTrackServiceResource) + if (TrackServiceResource is { } __value0) { - trackServiceResource?.Invoke(TrackServiceResource!); + trackServiceResource?.Invoke(__value0); } - else if (IsTrackCustomerServiceIndexResourceVariant2) + else if (TrackCustomerServiceIndexResourceVariant2 is { } __value1) { - trackCustomerServiceIndexResourceVariant2?.Invoke(TrackCustomerServiceIndexResourceVariant2!); + trackCustomerServiceIndexResourceVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsTrackServiceResource) + if (TrackServiceResource is { } __value0) { - trackServiceResource?.Invoke(TrackServiceResource!); + trackServiceResource?.Invoke(__value0); } - else if (IsTrackCustomerServiceIndexResourceVariant2) + else if (TrackCustomerServiceIndexResourceVariant2 is { } __value1) { - trackCustomerServiceIndexResourceVariant2?.Invoke(TrackCustomerServiceIndexResourceVariant2!); + trackCustomerServiceIndexResourceVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceShow.g.cs index 04c2655..6a32bc8 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackCustomerServiceShow.g.cs @@ -42,8 +42,8 @@ public bool TryPickResource( /// /// /// - public global::Mubert.TrackServiceResource PickResource() => IsResource - ? Resource! + public global::Mubert.TrackServiceResource PickResource() => Resource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Resource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickTrackCustomerServiceShowVariant2( /// /// /// - public global::Mubert.TrackCustomerServiceShowVariant2 PickTrackCustomerServiceShowVariant2() => IsTrackCustomerServiceShowVariant2 - ? TrackCustomerServiceShowVariant2! + public global::Mubert.TrackCustomerServiceShowVariant2 PickTrackCustomerServiceShowVariant2() => TrackCustomerServiceShowVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackCustomerServiceShowVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsResource && resource != null) + if (Resource is { } __value0 && resource != null) { - return resource(Resource!); + return resource(__value0); } - else if (IsTrackCustomerServiceShowVariant2 && trackCustomerServiceShowVariant2 != null) + else if (TrackCustomerServiceShowVariant2 is { } __value1 && trackCustomerServiceShowVariant2 != null) { - return trackCustomerServiceShowVariant2(TrackCustomerServiceShowVariant2!); + return trackCustomerServiceShowVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } - else if (IsTrackCustomerServiceShowVariant2) + else if (TrackCustomerServiceShowVariant2 is { } __value1) { - trackCustomerServiceShowVariant2?.Invoke(TrackCustomerServiceShowVariant2!); + trackCustomerServiceShowVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } - else if (IsTrackCustomerServiceShowVariant2) + else if (TrackCustomerServiceShowVariant2 is { } __value1) { - trackCustomerServiceShowVariant2?.Invoke(TrackCustomerServiceShowVariant2!); + trackCustomerServiceShowVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceIndexResource.g.cs index 5424cd2..7862462 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackGenerationServiceResource( /// /// /// - public global::Mubert.TrackGenerationServiceResource PickTrackGenerationServiceResource() => IsTrackGenerationServiceResource - ? TrackGenerationServiceResource! + public global::Mubert.TrackGenerationServiceResource PickTrackGenerationServiceResource() => TrackGenerationServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackGenerationServiceResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsTrackGenerationServiceResource && trackGenerationServiceResource != null) + if (TrackGenerationServiceResource is { } __value0 && trackGenerationServiceResource != null) { - return trackGenerationServiceResource(TrackGenerationServiceResource!); + return trackGenerationServiceResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsTrackGenerationServiceResource) + if (TrackGenerationServiceResource is { } __value0) { - trackGenerationServiceResource?.Invoke(TrackGenerationServiceResource!); + trackGenerationServiceResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsTrackGenerationServiceResource) + if (TrackGenerationServiceResource is { } __value0) { - trackGenerationServiceResource?.Invoke(TrackGenerationServiceResource!); + trackGenerationServiceResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceShow.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceShow.g.cs index 09a681e..2560322 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceShow.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationCustomerServiceShow.g.cs @@ -42,8 +42,8 @@ public bool TryPickResource( /// /// /// - public global::Mubert.TrackGenerationServiceResource PickResource() => IsResource - ? Resource! + public global::Mubert.TrackGenerationServiceResource PickResource() => Resource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'Resource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickTrackGenerationCustomerServiceShowVariant2( /// /// /// - public global::Mubert.TrackGenerationCustomerServiceShowVariant2 PickTrackGenerationCustomerServiceShowVariant2() => IsTrackGenerationCustomerServiceShowVariant2 - ? TrackGenerationCustomerServiceShowVariant2! + public global::Mubert.TrackGenerationCustomerServiceShowVariant2 PickTrackGenerationCustomerServiceShowVariant2() => TrackGenerationCustomerServiceShowVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackGenerationCustomerServiceShowVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsResource && resource != null) + if (Resource is { } __value0 && resource != null) { - return resource(Resource!); + return resource(__value0); } - else if (IsTrackGenerationCustomerServiceShowVariant2 && trackGenerationCustomerServiceShowVariant2 != null) + else if (TrackGenerationCustomerServiceShowVariant2 is { } __value1 && trackGenerationCustomerServiceShowVariant2 != null) { - return trackGenerationCustomerServiceShowVariant2(TrackGenerationCustomerServiceShowVariant2!); + return trackGenerationCustomerServiceShowVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } - else if (IsTrackGenerationCustomerServiceShowVariant2) + else if (TrackGenerationCustomerServiceShowVariant2 is { } __value1) { - trackGenerationCustomerServiceShowVariant2?.Invoke(TrackGenerationCustomerServiceShowVariant2!); + trackGenerationCustomerServiceShowVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsResource) + if (Resource is { } __value0) { - resource?.Invoke(Resource!); + resource?.Invoke(__value0); } - else if (IsTrackGenerationCustomerServiceShowVariant2) + else if (TrackGenerationCustomerServiceShowVariant2 is { } __value1) { - trackGenerationCustomerServiceShowVariant2?.Invoke(TrackGenerationCustomerServiceShowVariant2!); + trackGenerationCustomerServiceShowVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationIndexPublicResource.g.cs index 9c4a064..8fd8e11 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackGenerationPublicResource( /// /// /// - public global::Mubert.TrackGenerationPublicResource PickTrackGenerationPublicResource() => IsTrackGenerationPublicResource - ? TrackGenerationPublicResource! + public global::Mubert.TrackGenerationPublicResource PickTrackGenerationPublicResource() => TrackGenerationPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackGenerationPublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsTrackGenerationPublicResource && trackGenerationPublicResource != null) + if (TrackGenerationPublicResource is { } __value0 && trackGenerationPublicResource != null) { - return trackGenerationPublicResource(TrackGenerationPublicResource!); + return trackGenerationPublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsTrackGenerationPublicResource) + if (TrackGenerationPublicResource is { } __value0) { - trackGenerationPublicResource?.Invoke(TrackGenerationPublicResource!); + trackGenerationPublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsTrackGenerationPublicResource) + if (TrackGenerationPublicResource is { } __value0) { - trackGenerationPublicResource?.Invoke(TrackGenerationPublicResource!); + trackGenerationPublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationShowPublicResource.g.cs index 8b8b6da..13096d7 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackGenerationShowPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackGenerationPublicResource( /// /// /// - public global::Mubert.TrackGenerationPublicResource PickTrackGenerationPublicResource() => IsTrackGenerationPublicResource - ? TrackGenerationPublicResource! + public global::Mubert.TrackGenerationPublicResource PickTrackGenerationPublicResource() => TrackGenerationPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackGenerationPublicResource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickTrackGenerationShowPublicResourceVariant2( /// /// /// - public global::Mubert.TrackGenerationShowPublicResourceVariant2 PickTrackGenerationShowPublicResourceVariant2() => IsTrackGenerationShowPublicResourceVariant2 - ? TrackGenerationShowPublicResourceVariant2! + public global::Mubert.TrackGenerationShowPublicResourceVariant2 PickTrackGenerationShowPublicResourceVariant2() => TrackGenerationShowPublicResourceVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackGenerationShowPublicResourceVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsTrackGenerationPublicResource && trackGenerationPublicResource != null) + if (TrackGenerationPublicResource is { } __value0 && trackGenerationPublicResource != null) { - return trackGenerationPublicResource(TrackGenerationPublicResource!); + return trackGenerationPublicResource(__value0); } - else if (IsTrackGenerationShowPublicResourceVariant2 && trackGenerationShowPublicResourceVariant2 != null) + else if (TrackGenerationShowPublicResourceVariant2 is { } __value1 && trackGenerationShowPublicResourceVariant2 != null) { - return trackGenerationShowPublicResourceVariant2(TrackGenerationShowPublicResourceVariant2!); + return trackGenerationShowPublicResourceVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsTrackGenerationPublicResource) + if (TrackGenerationPublicResource is { } __value0) { - trackGenerationPublicResource?.Invoke(TrackGenerationPublicResource!); + trackGenerationPublicResource?.Invoke(__value0); } - else if (IsTrackGenerationShowPublicResourceVariant2) + else if (TrackGenerationShowPublicResourceVariant2 is { } __value1) { - trackGenerationShowPublicResourceVariant2?.Invoke(TrackGenerationShowPublicResourceVariant2!); + trackGenerationShowPublicResourceVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsTrackGenerationPublicResource) + if (TrackGenerationPublicResource is { } __value0) { - trackGenerationPublicResource?.Invoke(TrackGenerationPublicResource!); + trackGenerationPublicResource?.Invoke(__value0); } - else if (IsTrackGenerationShowPublicResourceVariant2) + else if (TrackGenerationShowPublicResourceVariant2 is { } __value1) { - trackGenerationShowPublicResourceVariant2?.Invoke(TrackGenerationShowPublicResourceVariant2!); + trackGenerationShowPublicResourceVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackIndexPublicResource.g.cs index 2801667..a497695 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackPublicResource( /// /// /// - public global::Mubert.TrackPublicResource PickTrackPublicResource() => IsTrackPublicResource - ? TrackPublicResource! + public global::Mubert.TrackPublicResource PickTrackPublicResource() => TrackPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackPublicResource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickTrackIndexPublicResourceVariant2( /// /// /// - public global::Mubert.TrackIndexPublicResourceVariant2 PickTrackIndexPublicResourceVariant2() => IsTrackIndexPublicResourceVariant2 - ? TrackIndexPublicResourceVariant2! + public global::Mubert.TrackIndexPublicResourceVariant2 PickTrackIndexPublicResourceVariant2() => TrackIndexPublicResourceVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackIndexPublicResourceVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsTrackPublicResource && trackPublicResource != null) + if (TrackPublicResource is { } __value0 && trackPublicResource != null) { - return trackPublicResource(TrackPublicResource!); + return trackPublicResource(__value0); } - else if (IsTrackIndexPublicResourceVariant2 && trackIndexPublicResourceVariant2 != null) + else if (TrackIndexPublicResourceVariant2 is { } __value1 && trackIndexPublicResourceVariant2 != null) { - return trackIndexPublicResourceVariant2(TrackIndexPublicResourceVariant2!); + return trackIndexPublicResourceVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsTrackPublicResource) + if (TrackPublicResource is { } __value0) { - trackPublicResource?.Invoke(TrackPublicResource!); + trackPublicResource?.Invoke(__value0); } - else if (IsTrackIndexPublicResourceVariant2) + else if (TrackIndexPublicResourceVariant2 is { } __value1) { - trackIndexPublicResourceVariant2?.Invoke(TrackIndexPublicResourceVariant2!); + trackIndexPublicResourceVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsTrackPublicResource) + if (TrackPublicResource is { } __value0) { - trackPublicResource?.Invoke(TrackPublicResource!); + trackPublicResource?.Invoke(__value0); } - else if (IsTrackIndexPublicResourceVariant2) + else if (TrackIndexPublicResourceVariant2 is { } __value1) { - trackIndexPublicResourceVariant2?.Invoke(TrackIndexPublicResourceVariant2!); + trackIndexPublicResourceVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackShowPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackShowPublicResource.g.cs index ddb98a0..a125eba 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackShowPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackShowPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackPublicResource( /// /// /// - public global::Mubert.TrackPublicResource PickTrackPublicResource() => IsTrackPublicResource - ? TrackPublicResource! + public global::Mubert.TrackPublicResource PickTrackPublicResource() => TrackPublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackPublicResource' but the value was {ToString()}."); /// @@ -79,8 +79,8 @@ public bool TryPickTrackShowPublicResourceVariant2( /// /// /// - public global::Mubert.TrackShowPublicResourceVariant2 PickTrackShowPublicResourceVariant2() => IsTrackShowPublicResourceVariant2 - ? TrackShowPublicResourceVariant2! + public global::Mubert.TrackShowPublicResourceVariant2 PickTrackShowPublicResourceVariant2() => TrackShowPublicResourceVariant2 is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackShowPublicResourceVariant2' but the value was {ToString()}."); /// /// @@ -177,13 +177,13 @@ public bool Validate() Validate(); } - if (IsTrackPublicResource && trackPublicResource != null) + if (TrackPublicResource is { } __value0 && trackPublicResource != null) { - return trackPublicResource(TrackPublicResource!); + return trackPublicResource(__value0); } - else if (IsTrackShowPublicResourceVariant2 && trackShowPublicResourceVariant2 != null) + else if (TrackShowPublicResourceVariant2 is { } __value1 && trackShowPublicResourceVariant2 != null) { - return trackShowPublicResourceVariant2(TrackShowPublicResourceVariant2!); + return trackShowPublicResourceVariant2(__value1); } return default(TResult); @@ -203,13 +203,13 @@ public void Match( Validate(); } - if (IsTrackPublicResource) + if (TrackPublicResource is { } __value0) { - trackPublicResource?.Invoke(TrackPublicResource!); + trackPublicResource?.Invoke(__value0); } - else if (IsTrackShowPublicResourceVariant2) + else if (TrackShowPublicResourceVariant2 is { } __value1) { - trackShowPublicResourceVariant2?.Invoke(TrackShowPublicResourceVariant2!); + trackShowPublicResourceVariant2?.Invoke(__value1); } } @@ -226,13 +226,13 @@ public void Switch( Validate(); } - if (IsTrackPublicResource) + if (TrackPublicResource is { } __value0) { - trackPublicResource?.Invoke(TrackPublicResource!); + trackPublicResource?.Invoke(__value0); } - else if (IsTrackShowPublicResourceVariant2) + else if (TrackShowPublicResourceVariant2 is { } __value1) { - trackShowPublicResourceVariant2?.Invoke(TrackShowPublicResourceVariant2!); + trackShowPublicResourceVariant2?.Invoke(__value1); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackStoreCustomerServiceIndexResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackStoreCustomerServiceIndexResource.g.cs index fd82e4d..826fe5a 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackStoreCustomerServiceIndexResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackStoreCustomerServiceIndexResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackStoreServiceResource( /// /// /// - public global::Mubert.TrackStoreServiceResource PickTrackStoreServiceResource() => IsTrackStoreServiceResource - ? TrackStoreServiceResource! + public global::Mubert.TrackStoreServiceResource PickTrackStoreServiceResource() => TrackStoreServiceResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackStoreServiceResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsTrackStoreServiceResource && trackStoreServiceResource != null) + if (TrackStoreServiceResource is { } __value0 && trackStoreServiceResource != null) { - return trackStoreServiceResource(TrackStoreServiceResource!); + return trackStoreServiceResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsTrackStoreServiceResource) + if (TrackStoreServiceResource is { } __value0) { - trackStoreServiceResource?.Invoke(TrackStoreServiceResource!); + trackStoreServiceResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsTrackStoreServiceResource) + if (TrackStoreServiceResource is { } __value0) { - trackStoreServiceResource?.Invoke(TrackStoreServiceResource!); + trackStoreServiceResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.Models.TrackStoreIndexPublicResource.g.cs b/src/libs/Mubert/Generated/Mubert.Models.TrackStoreIndexPublicResource.g.cs index b826fb6..165cc13 100644 --- a/src/libs/Mubert/Generated/Mubert.Models.TrackStoreIndexPublicResource.g.cs +++ b/src/libs/Mubert/Generated/Mubert.Models.TrackStoreIndexPublicResource.g.cs @@ -42,8 +42,8 @@ public bool TryPickTrackStorePublicResource( /// /// /// - public global::Mubert.TrackStorePublicResource PickTrackStorePublicResource() => IsTrackStorePublicResource - ? TrackStorePublicResource! + public global::Mubert.TrackStorePublicResource PickTrackStorePublicResource() => TrackStorePublicResource is { } value + ? value : throw new global::System.InvalidOperationException($"Expected union variant 'TrackStorePublicResource' but the value was {ToString()}."); /// /// @@ -102,9 +102,9 @@ public bool Validate() Validate(); } - if (IsTrackStorePublicResource && trackStorePublicResource != null) + if (TrackStorePublicResource is { } __value0 && trackStorePublicResource != null) { - return trackStorePublicResource(TrackStorePublicResource!); + return trackStorePublicResource(__value0); } return default(TResult); @@ -122,9 +122,9 @@ public void Match( Validate(); } - if (IsTrackStorePublicResource) + if (TrackStorePublicResource is { } __value0) { - trackStorePublicResource?.Invoke(TrackStorePublicResource!); + trackStorePublicResource?.Invoke(__value0); } } @@ -140,9 +140,9 @@ public void Switch( Validate(); } - if (IsTrackStorePublicResource) + if (TrackStorePublicResource is { } __value0) { - trackStorePublicResource?.Invoke(TrackStorePublicResource!); + trackStorePublicResource?.Invoke(__value0); } } diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryParams.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryParams.g.cs index a56ff89..7c72487 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryParams.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryParams.g.cs @@ -306,7 +306,7 @@ partial void ProcessGetPublicMusicLibraryParamsResponseContent( pathTemplate: "\"/api/v3/public/music-library/params\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -340,7 +340,7 @@ partial void ProcessGetPublicMusicLibraryParamsResponseContent( pathTemplate: "\"/api/v3/public/music-library/params\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -381,7 +381,7 @@ partial void ProcessGetPublicMusicLibraryParamsResponseContent( pathTemplate: "\"/api/v3/public/music-library/params\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -429,7 +429,7 @@ partial void ProcessGetPublicMusicLibraryParamsResponseContent( pathTemplate: "\"/api/v3/public/music-library/params\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -451,7 +451,7 @@ partial void ProcessGetPublicMusicLibraryParamsResponseContent( pathTemplate: "\"/api/v3/public/music-library/params\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryTracks.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryTracks.g.cs index 0965f76..5b3085e 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryTracks.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicMusicLibraryTracks.g.cs @@ -362,7 +362,7 @@ partial void ProcessGetPublicMusicLibraryTracksResponseContent( pathTemplate: "\"/api/v3/public/music-library/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -396,7 +396,7 @@ partial void ProcessGetPublicMusicLibraryTracksResponseContent( pathTemplate: "\"/api/v3/public/music-library/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -437,7 +437,7 @@ partial void ProcessGetPublicMusicLibraryTracksResponseContent( pathTemplate: "\"/api/v3/public/music-library/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -485,7 +485,7 @@ partial void ProcessGetPublicMusicLibraryTracksResponseContent( pathTemplate: "\"/api/v3/public/music-library/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -507,7 +507,7 @@ partial void ProcessGetPublicMusicLibraryTracksResponseContent( pathTemplate: "\"/api/v3/public/music-library/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPlaylists.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPlaylists.g.cs index bc14e65..8241e61 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPlaylists.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPlaylists.g.cs @@ -160,7 +160,7 @@ partial void ProcessGetPublicPlaylistsResponseContent( pathTemplate: "\"/api/v3/public/playlists\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -194,7 +194,7 @@ partial void ProcessGetPublicPlaylistsResponseContent( pathTemplate: "\"/api/v3/public/playlists\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -235,7 +235,7 @@ partial void ProcessGetPublicPlaylistsResponseContent( pathTemplate: "\"/api/v3/public/playlists\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -283,7 +283,7 @@ partial void ProcessGetPublicPlaylistsResponseContent( pathTemplate: "\"/api/v3/public/playlists\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessGetPublicPlaylistsResponseContent( pathTemplate: "\"/api/v3/public/playlists\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPrices.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPrices.g.cs index 16b29c8..8f17b3e 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPrices.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPrices.g.cs @@ -174,7 +174,7 @@ partial void ProcessGetPublicPricesResponseContent( pathTemplate: "\"/api/v3/public/prices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -208,7 +208,7 @@ partial void ProcessGetPublicPricesResponseContent( pathTemplate: "\"/api/v3/public/prices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -249,7 +249,7 @@ partial void ProcessGetPublicPricesResponseContent( pathTemplate: "\"/api/v3/public/prices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -297,7 +297,7 @@ partial void ProcessGetPublicPricesResponseContent( pathTemplate: "\"/api/v3/public/prices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -319,7 +319,7 @@ partial void ProcessGetPublicPricesResponseContent( pathTemplate: "\"/api/v3/public/prices\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPricesByPrice.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPricesByPrice.g.cs index 3feef10..e6a5c5c 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPricesByPrice.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicPricesByPrice.g.cs @@ -164,7 +164,7 @@ partial void ProcessGetPublicPricesByPriceResponseContent( PrepareGetPublicPricesByPriceRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - price: price!, + price: price, lang: lang); return __httpRequest; @@ -187,7 +187,7 @@ partial void ProcessGetPublicPricesByPriceResponseContent( pathTemplate: "$\"/api/v3/public/prices/{price}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -221,7 +221,7 @@ partial void ProcessGetPublicPricesByPriceResponseContent( pathTemplate: "$\"/api/v3/public/prices/{price}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -262,7 +262,7 @@ partial void ProcessGetPublicPricesByPriceResponseContent( pathTemplate: "$\"/api/v3/public/prices/{price}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -310,7 +310,7 @@ partial void ProcessGetPublicPricesByPriceResponseContent( pathTemplate: "$\"/api/v3/public/prices/{price}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -332,7 +332,7 @@ partial void ProcessGetPublicPricesByPriceResponseContent( pathTemplate: "$\"/api/v3/public/prices/{price}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicStreamingGetLink.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicStreamingGetLink.g.cs index dc71d50..cca08da 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicStreamingGetLink.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicStreamingGetLink.g.cs @@ -197,7 +197,7 @@ partial void ProcessGetPublicStreamingGetLinkResponseContent( PrepareGetPublicStreamingGetLinkRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - playlistIndex: playlistIndex!, + playlistIndex: playlistIndex, bitrate: bitrate, intensity: intensity, type: type); @@ -222,7 +222,7 @@ partial void ProcessGetPublicStreamingGetLinkResponseContent( pathTemplate: "\"/api/v3/public/streaming/get-link\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -256,7 +256,7 @@ partial void ProcessGetPublicStreamingGetLinkResponseContent( pathTemplate: "\"/api/v3/public/streaming/get-link\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -297,7 +297,7 @@ partial void ProcessGetPublicStreamingGetLinkResponseContent( pathTemplate: "\"/api/v3/public/streaming/get-link\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -345,7 +345,7 @@ partial void ProcessGetPublicStreamingGetLinkResponseContent( pathTemplate: "\"/api/v3/public/streaming/get-link\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -367,7 +367,7 @@ partial void ProcessGetPublicStreamingGetLinkResponseContent( pathTemplate: "\"/api/v3/public/streaming/get-link\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsBuy.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsBuy.g.cs index 87c7230..80df926 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsBuy.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsBuy.g.cs @@ -178,7 +178,7 @@ partial void ProcessGetPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessGetPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessGetPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessGetPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessGetPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsCancel.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsCancel.g.cs index bf6ab40..6883d61 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsCancel.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicSubscriptionsCancel.g.cs @@ -173,7 +173,7 @@ await GetPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await GetPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await GetPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await GetPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await GetPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracks.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracks.g.cs index 4639010..daf9ff7 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracks.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracks.g.cs @@ -218,7 +218,7 @@ partial void ProcessGetPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -252,7 +252,7 @@ partial void ProcessGetPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -293,7 +293,7 @@ partial void ProcessGetPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -341,7 +341,7 @@ partial void ProcessGetPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -363,7 +363,7 @@ partial void ProcessGetPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksByTrack.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksByTrack.g.cs index c4f3357..e79f311 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksByTrack.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksByTrack.g.cs @@ -151,7 +151,7 @@ partial void ProcessGetPublicTracksByTrackResponseContent( PrepareGetPublicTracksByTrackRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - track: track!); + track: track); return __httpRequest; } @@ -173,7 +173,7 @@ partial void ProcessGetPublicTracksByTrackResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ partial void ProcessGetPublicTracksByTrackResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessGetPublicTracksByTrackResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessGetPublicTracksByTrackResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessGetPublicTracksByTrackResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksSessionBySessionId.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksSessionBySessionId.g.cs index 2faede0..c94a82b 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksSessionBySessionId.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.GetPublicTracksSessionBySessionId.g.cs @@ -159,8 +159,8 @@ partial void ProcessGetPublicTracksSessionBySessionIdResponseContent( PrepareGetPublicTracksSessionBySessionIdRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - track: track!, - sessionId: sessionId!); + track: track, + sessionId: sessionId); return __httpRequest; } @@ -182,7 +182,7 @@ partial void ProcessGetPublicTracksSessionBySessionIdResponseContent( pathTemplate: "$\"/api/v3/public/tracks/session/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -216,7 +216,7 @@ partial void ProcessGetPublicTracksSessionBySessionIdResponseContent( pathTemplate: "$\"/api/v3/public/tracks/session/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -257,7 +257,7 @@ partial void ProcessGetPublicTracksSessionBySessionIdResponseContent( pathTemplate: "$\"/api/v3/public/tracks/session/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -305,7 +305,7 @@ partial void ProcessGetPublicTracksSessionBySessionIdResponseContent( pathTemplate: "$\"/api/v3/public/tracks/session/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -327,7 +327,7 @@ partial void ProcessGetPublicTracksSessionBySessionIdResponseContent( pathTemplate: "$\"/api/v3/public/tracks/session/{sessionId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingRestart.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingRestart.g.cs index b4da3f1..be848a2 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingRestart.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingRestart.g.cs @@ -173,7 +173,7 @@ await PostPublicStreamingRestartAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/restart\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await PostPublicStreamingRestartAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/restart\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await PostPublicStreamingRestartAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/restart\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostPublicStreamingRestartAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/restart\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await PostPublicStreamingRestartAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/restart\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetIntensity.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetIntensity.g.cs index 87bded0..0a4a01d 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetIntensity.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetIntensity.g.cs @@ -173,7 +173,7 @@ await PostPublicStreamingSetIntensityAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-intensity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await PostPublicStreamingSetIntensityAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-intensity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await PostPublicStreamingSetIntensityAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-intensity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostPublicStreamingSetIntensityAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-intensity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await PostPublicStreamingSetIntensityAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-intensity\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetLoopState.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetLoopState.g.cs index 3b5b056..6e5252d 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetLoopState.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStreamingSetLoopState.g.cs @@ -173,7 +173,7 @@ await PostPublicStreamingSetLoopStateAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-loop-state\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await PostPublicStreamingSetLoopStateAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-loop-state\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await PostPublicStreamingSetLoopStateAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-loop-state\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostPublicStreamingSetLoopStateAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-loop-state\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await PostPublicStreamingSetLoopStateAsResponseAsync( pathTemplate: "\"/api/v3/public/streaming/set-loop-state\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStripeWebhook.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStripeWebhook.g.cs index 97c84e3..2c2f781 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStripeWebhook.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicStripeWebhook.g.cs @@ -151,7 +151,7 @@ await PostPublicStripeWebhookAsResponseAsync( pathTemplate: "\"/api/v3/public/stripe/webhook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -185,7 +185,7 @@ await PostPublicStripeWebhookAsResponseAsync( pathTemplate: "\"/api/v3/public/stripe/webhook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -226,7 +226,7 @@ await PostPublicStripeWebhookAsResponseAsync( pathTemplate: "\"/api/v3/public/stripe/webhook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -274,7 +274,7 @@ await PostPublicStripeWebhookAsResponseAsync( pathTemplate: "\"/api/v3/public/stripe/webhook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostPublicStripeWebhookAsResponseAsync( pathTemplate: "\"/api/v3/public/stripe/webhook\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsBuy.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsBuy.g.cs index 9564b96..e7be2ab 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsBuy.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsBuy.g.cs @@ -178,7 +178,7 @@ partial void ProcessPostPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessPostPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessPostPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessPostPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessPostPublicSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/public/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsCancel.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsCancel.g.cs index fd6392a..e6f0c72 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsCancel.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicSubscriptionsCancel.g.cs @@ -173,7 +173,7 @@ await PostPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await PostPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await PostPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await PostPublicSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/public/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracks.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracks.g.cs index 87d4654..5890864 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracks.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracks.g.cs @@ -180,7 +180,7 @@ partial void ProcessPostPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPostPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPostPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPostPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostPublicTracksResponseContent( pathTemplate: "\"/api/v3/public/tracks\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackEdit.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackEdit.g.cs index a4868dc..75bda63 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackEdit.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackEdit.g.cs @@ -170,7 +170,7 @@ partial void ProcessPostPublicTracksByTrackEditResponseContent( PreparePostPublicTracksByTrackEditRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - track: track!, + track: track, request: request); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessPostPublicTracksByTrackEditResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessPostPublicTracksByTrackEditResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessPostPublicTracksByTrackEditResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessPostPublicTracksByTrackEditResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessPostPublicTracksByTrackEditResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/edit\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackSimilar.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackSimilar.g.cs index 9f12e7a..29353ee 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackSimilar.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksByTrackSimilar.g.cs @@ -170,7 +170,7 @@ partial void ProcessPostPublicTracksByTrackSimilarResponseContent( PreparePostPublicTracksByTrackSimilarRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - track: track!, + track: track, request: request); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessPostPublicTracksByTrackSimilarResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/similar\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessPostPublicTracksByTrackSimilarResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/similar\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessPostPublicTracksByTrackSimilarResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/similar\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessPostPublicTracksByTrackSimilarResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/similar\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessPostPublicTracksByTrackSimilarResponseContent( pathTemplate: "$\"/api/v3/public/tracks/{track}/similar\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksRecord.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksRecord.g.cs index 8d22caa..a3542b3 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksRecord.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksRecord.g.cs @@ -180,7 +180,7 @@ partial void ProcessPostPublicTracksRecordResponseContent( pathTemplate: "\"/api/v3/public/tracks/record\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPostPublicTracksRecordResponseContent( pathTemplate: "\"/api/v3/public/tracks/record\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPostPublicTracksRecordResponseContent( pathTemplate: "\"/api/v3/public/tracks/record\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPostPublicTracksRecordResponseContent( pathTemplate: "\"/api/v3/public/tracks/record\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostPublicTracksRecordResponseContent( pathTemplate: "\"/api/v3/public/tracks/record\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksStored.g.cs b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksStored.g.cs index 0937538..88530f6 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksStored.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicClient.PostPublicTracksStored.g.cs @@ -180,7 +180,7 @@ partial void ProcessPostPublicTracksStoredResponseContent( pathTemplate: "\"/api/v3/public/tracks/stored\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPostPublicTracksStoredResponseContent( pathTemplate: "\"/api/v3/public/tracks/stored\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPostPublicTracksStoredResponseContent( pathTemplate: "\"/api/v3/public/tracks/stored\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPostPublicTracksStoredResponseContent( pathTemplate: "\"/api/v3/public/tracks/stored\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostPublicTracksStoredResponseContent( pathTemplate: "\"/api/v3/public/tracks/stored\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.DeleteServiceCustomersByCustomer.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.DeleteServiceCustomersByCustomer.g.cs index 4a096e0..4a37981 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.DeleteServiceCustomersByCustomer.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.DeleteServiceCustomersByCustomer.g.cs @@ -163,7 +163,7 @@ await DeleteServiceCustomersByCustomerAsResponseAsync( PrepareDeleteServiceCustomersByCustomerRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - customer: customer!, + customer: customer, request: request); return __httpRequest; @@ -186,7 +186,7 @@ await DeleteServiceCustomersByCustomerAsResponseAsync( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -220,7 +220,7 @@ await DeleteServiceCustomersByCustomerAsResponseAsync( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -261,7 +261,7 @@ await DeleteServiceCustomersByCustomerAsResponseAsync( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -309,7 +309,7 @@ await DeleteServiceCustomersByCustomerAsResponseAsync( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -331,7 +331,7 @@ await DeleteServiceCustomersByCustomerAsResponseAsync( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "DELETE", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomers.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomers.g.cs index 1f9db5b..2d6a862 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomers.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomers.g.cs @@ -190,7 +190,7 @@ partial void ProcessGetServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessGetServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessGetServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGetServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessGetServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersByCustomer.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersByCustomer.g.cs index 57ddee5..4a79b49 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersByCustomer.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersByCustomer.g.cs @@ -151,7 +151,7 @@ partial void ProcessGetServiceCustomersByCustomerResponseContent( PrepareGetServiceCustomersByCustomerRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - customer: customer!); + customer: customer); return __httpRequest; } @@ -173,7 +173,7 @@ partial void ProcessGetServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ partial void ProcessGetServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessGetServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessGetServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessGetServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersCustomIdByCustomid.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersCustomIdByCustomid.g.cs index 5d7a0b7..7ee24b8 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersCustomIdByCustomid.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceCustomersCustomIdByCustomid.g.cs @@ -151,7 +151,7 @@ partial void ProcessGetServiceCustomersCustomIdByCustomidResponseContent( PrepareGetServiceCustomersCustomIdByCustomidRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - customId: customId!); + customId: customId); return __httpRequest; } @@ -173,7 +173,7 @@ partial void ProcessGetServiceCustomersCustomIdByCustomidResponseContent( pathTemplate: "$\"/api/v3/service/customers/custom-id/{customId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ partial void ProcessGetServiceCustomersCustomIdByCustomidResponseContent( pathTemplate: "$\"/api/v3/service/customers/custom-id/{customId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessGetServiceCustomersCustomIdByCustomidResponseContent( pathTemplate: "$\"/api/v3/service/customers/custom-id/{customId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessGetServiceCustomersCustomIdByCustomidResponseContent( pathTemplate: "$\"/api/v3/service/customers/custom-id/{customId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessGetServiceCustomersCustomIdByCustomidResponseContent( pathTemplate: "$\"/api/v3/service/customers/custom-id/{customId}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicenses.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicenses.g.cs index d53f5f2..442753b 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicenses.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicenses.g.cs @@ -190,7 +190,7 @@ partial void ProcessGetServiceLicensesResponseContent( pathTemplate: "\"/api/v3/service/licenses\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -224,7 +224,7 @@ partial void ProcessGetServiceLicensesResponseContent( pathTemplate: "\"/api/v3/service/licenses\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -265,7 +265,7 @@ partial void ProcessGetServiceLicensesResponseContent( pathTemplate: "\"/api/v3/service/licenses\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -313,7 +313,7 @@ partial void ProcessGetServiceLicensesResponseContent( pathTemplate: "\"/api/v3/service/licenses\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -335,7 +335,7 @@ partial void ProcessGetServiceLicensesResponseContent( pathTemplate: "\"/api/v3/service/licenses\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicensesByLicense.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicensesByLicense.g.cs index a4c0c4f..d5e2c87 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicensesByLicense.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.GetServiceLicensesByLicense.g.cs @@ -151,7 +151,7 @@ partial void ProcessGetServiceLicensesByLicenseResponseContent( PrepareGetServiceLicensesByLicenseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - license: license!); + license: license); return __httpRequest; } @@ -173,7 +173,7 @@ partial void ProcessGetServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ partial void ProcessGetServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ partial void ProcessGetServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ partial void ProcessGetServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ partial void ProcessGetServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PostServiceCustomers.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PostServiceCustomers.g.cs index 2b34ade..d02e5eb 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PostServiceCustomers.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PostServiceCustomers.g.cs @@ -180,7 +180,7 @@ partial void ProcessPostServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessPostServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessPostServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessPostServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessPostServiceCustomersResponseContent( pathTemplate: "\"/api/v3/service/customers\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceCustomersByCustomer.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceCustomersByCustomer.g.cs index 113ccc1..3b95cb0 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceCustomersByCustomer.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceCustomersByCustomer.g.cs @@ -170,7 +170,7 @@ partial void ProcessPutServiceCustomersByCustomerResponseContent( PreparePutServiceCustomersByCustomerRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - customer: customer!, + customer: customer, request: request); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessPutServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessPutServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessPutServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessPutServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessPutServiceCustomersByCustomerResponseContent( pathTemplate: "$\"/api/v3/service/customers/{customer}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceLicensesByLicense.g.cs b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceLicensesByLicense.g.cs index 9129037..7043d1b 100644 --- a/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceLicensesByLicense.g.cs +++ b/src/libs/Mubert/Generated/Mubert.PublicServiceClient.PutServiceLicensesByLicense.g.cs @@ -170,7 +170,7 @@ partial void ProcessPutServiceLicensesByLicenseResponseContent( PreparePutServiceLicensesByLicenseRequest( httpClient: HttpClient, httpRequestMessage: __httpRequest, - license: license!, + license: license, request: request); return __httpRequest; @@ -193,7 +193,7 @@ partial void ProcessPutServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -227,7 +227,7 @@ partial void ProcessPutServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -268,7 +268,7 @@ partial void ProcessPutServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -316,7 +316,7 @@ partial void ProcessPutServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -338,7 +338,7 @@ partial void ProcessPutServiceLicensesByLicenseResponseContent( pathTemplate: "$\"/api/v3/service/licenses/{license}\"", httpMethod: "PUT", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeBillingPortal.g.cs b/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeBillingPortal.g.cs index b7e75e7..b5f408f 100644 --- a/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeBillingPortal.g.cs +++ b/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeBillingPortal.g.cs @@ -180,7 +180,7 @@ partial void ProcessGetServiceStripeBillingPortalResponseContent( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -214,7 +214,7 @@ partial void ProcessGetServiceStripeBillingPortalResponseContent( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -255,7 +255,7 @@ partial void ProcessGetServiceStripeBillingPortalResponseContent( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -303,7 +303,7 @@ partial void ProcessGetServiceStripeBillingPortalResponseContent( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -325,7 +325,7 @@ partial void ProcessGetServiceStripeBillingPortalResponseContent( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsBuy.g.cs b/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsBuy.g.cs index f5a389a..39384da 100644 --- a/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsBuy.g.cs +++ b/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsBuy.g.cs @@ -178,7 +178,7 @@ partial void ProcessGetServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessGetServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessGetServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessGetServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessGetServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsCancel.g.cs b/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsCancel.g.cs index 8278881..b018494 100644 --- a/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsCancel.g.cs +++ b/src/libs/Mubert/Generated/Mubert.ServiceClient.GetServiceStripeSubscriptionsCancel.g.cs @@ -173,7 +173,7 @@ await GetServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await GetServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await GetServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await GetServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await GetServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "GET", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeBillingPortal.g.cs b/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeBillingPortal.g.cs index 6b57bc3..2f24125 100644 --- a/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeBillingPortal.g.cs +++ b/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeBillingPortal.g.cs @@ -173,7 +173,7 @@ await PostServiceStripeBillingPortalAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await PostServiceStripeBillingPortalAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await PostServiceStripeBillingPortalAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostServiceStripeBillingPortalAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await PostServiceStripeBillingPortalAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/billing-portal\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsBuy.g.cs b/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsBuy.g.cs index 63dfac5..bc765af 100644 --- a/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsBuy.g.cs +++ b/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsBuy.g.cs @@ -178,7 +178,7 @@ partial void ProcessPostServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -212,7 +212,7 @@ partial void ProcessPostServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -253,7 +253,7 @@ partial void ProcessPostServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -301,7 +301,7 @@ partial void ProcessPostServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -323,7 +323,7 @@ partial void ProcessPostServiceStripeSubscriptionsBuyResponseContent( pathTemplate: "\"/api/v3/service/stripe/subscriptions/buy\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, diff --git a/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsCancel.g.cs b/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsCancel.g.cs index 6f7cd8e..37cef63 100644 --- a/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsCancel.g.cs +++ b/src/libs/Mubert/Generated/Mubert.ServiceClient.PostServiceStripeSubscriptionsCancel.g.cs @@ -173,7 +173,7 @@ await PostServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: null, clientOptions: Options, @@ -207,7 +207,7 @@ await PostServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: null, exception: __exception, clientOptions: Options, @@ -248,7 +248,7 @@ await PostServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -296,7 +296,7 @@ await PostServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options, @@ -318,7 +318,7 @@ await PostServiceStripeSubscriptionsCancelAsResponseAsync( pathTemplate: "\"/api/v3/service/stripe/subscriptions/cancel\"", httpMethod: "POST", baseUri: BaseUri, - request: __httpRequest!, + request: __httpRequest ?? throw new global::System.InvalidOperationException("The HTTP request was not created before invoking a request hook."), response: __response, exception: null, clientOptions: Options,