diff --git a/src/Directory.Packages.props b/src/Directory.Packages.props
index ec272476..e5a80dfb 100644
--- a/src/Directory.Packages.props
+++ b/src/Directory.Packages.props
@@ -14,13 +14,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs
index 134211e1..14141203 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/AdminRequestBuilder.cs
@@ -10,24 +10,28 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin {
///
/// Builds and executes requests for operations under \admin
///
- public class AdminRequestBuilder : BaseRequestBuilder {
+ public class AdminRequestBuilder : BaseRequestBuilder
+ {
/// The realms property
- public RealmsRequestBuilder Realms { get =>
- new RealmsRequestBuilder(PathParameters, RequestAdapter);
+ public RealmsRequestBuilder Realms
+ {
+ get => new RealmsRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public AdminRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin", pathParameters) {
+ public AdminRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin", rawUrl) {
+ public AdminRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin", rawUrl)
+ {
}
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs
index 0b39bd60..5508bfe8 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AdminEvents/AdminEventsRequestBuilder.cs
@@ -12,20 +12,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AdminEvents {
///
/// Builds and executes requests for operations under \admin\realms\{realm}\admin-events
///
- public class AdminEventsRequestBuilder : BaseRequestBuilder {
+ public class AdminEventsRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public AdminEventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/admin-events{?authClient*,authIpAddress*,authRealm*,authUser*,dateFrom*,dateTo*,first*,max*,operationTypes*,resourcePath*,resourceTypes*}", pathParameters) {
+ public AdminEventsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/admin-events{?authClient*,authIpAddress*,authRealm*,authUser*,dateFrom*,dateTo*,first*,max*,operationTypes*,resourcePath*,resourceTypes*}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public AdminEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/admin-events{?authClient*,authIpAddress*,authRealm*,authUser*,dateFrom*,dateTo*,first*,max*,operationTypes*,resourcePath*,resourceTypes*}", rawUrl) {
+ public AdminEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/admin-events{?authClient*,authIpAddress*,authRealm*,authUser*,dateFrom*,dateTo*,first*,max*,operationTypes*,resourcePath*,resourceTypes*}", rawUrl)
+ {
}
///
/// Delete all admin events
@@ -34,10 +37,12 @@ public AdminEventsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AdminEventRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -66,12 +73,14 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
- var requestInfo = new RequestInformation(Method.DELETE, "{+baseurl}/admin/realms/{realm}/admin-events", PathParameters);
+ var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
return requestInfo;
}
@@ -82,10 +91,12 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -97,13 +108,15 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public AdminEventsRequestBuilder WithUrl(string rawUrl) {
+ public AdminEventsRequestBuilder WithUrl(string rawUrl)
+ {
return new AdminEventsRequestBuilder(rawUrl, RequestAdapter);
}
///
/// Get admin events Returns all admin events, or filters events based on URL query parameters listed here
///
- public class AdminEventsRequestBuilderGetQueryParameters {
+ public class AdminEventsRequestBuilderGetQueryParameters
+ {
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
[QueryParameter("authClient")]
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs
index 2fcba5f5..6ad918c0 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/AttackDetectionRequestBuilder.cs
@@ -10,24 +10,28 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetectio
///
/// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection
///
- public class AttackDetectionRequestBuilder : BaseRequestBuilder {
+ public class AttackDetectionRequestBuilder : BaseRequestBuilder
+ {
/// The bruteForce property
- public BruteForceRequestBuilder BruteForce { get =>
- new BruteForceRequestBuilder(PathParameters, RequestAdapter);
+ public BruteForceRequestBuilder BruteForce
+ {
+ get => new BruteForceRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public AttackDetectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection", pathParameters) {
+ public AttackDetectionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public AttackDetectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection", rawUrl) {
+ public AttackDetectionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection", rawUrl)
+ {
}
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs
index fbb45939..21715b44 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/BruteForceRequestBuilder.cs
@@ -10,24 +10,28 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetectio
///
/// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection\brute-force
///
- public class BruteForceRequestBuilder : BaseRequestBuilder {
+ public class BruteForceRequestBuilder : BaseRequestBuilder
+ {
/// The users property
- public UsersRequestBuilder Users { get =>
- new UsersRequestBuilder(PathParameters, RequestAdapter);
+ public UsersRequestBuilder Users
+ {
+ get => new UsersRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public BruteForceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force", pathParameters) {
+ public BruteForceRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public BruteForceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force", rawUrl) {
+ public BruteForceRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force", rawUrl)
+ {
}
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs
index 683572a5..09c775b5 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserGetResponse.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetection.BruteForce.Users.Item {
- public class WithUserGetResponse : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class WithUserGetResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public WithUserGetResponse() {
+ public WithUserGetResponse()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public WithUserGetResponse() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static WithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static WithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new WithUserGetResponse();
}
@@ -27,15 +32,18 @@ public static WithUserGetResponse CreateFromDiscriminatorValue(IParseNode parseN
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs
index 7f07e98f..d76e96a1 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/Item/WithUserItemRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetectio
///
/// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection\brute-force\users\{userId}
///
- public class WithUserItemRequestBuilder : BaseRequestBuilder {
+ public class WithUserItemRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public WithUserItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users/{userId}", pathParameters) {
+ public WithUserItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users/{userId}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public WithUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users/{userId}", rawUrl) {
+ public WithUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users/{userId}", rawUrl)
+ {
}
///
/// Clear any user login failures for the user This can release temporary disabled user
@@ -33,10 +36,12 @@ public WithUserItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -49,10 +54,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, WithUserGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -64,10 +71,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -80,10 +89,12 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -95,7 +106,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public WithUserItemRequestBuilder WithUrl(string rawUrl) {
+ public WithUserItemRequestBuilder WithUrl(string rawUrl)
+ {
return new WithUserItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs
index a065b88f..120b1102 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/AttackDetection/BruteForce/Users/UsersRequestBuilder.cs
@@ -12,28 +12,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.AttackDetectio
///
/// Builds and executes requests for operations under \admin\realms\{realm}\attack-detection\brute-force\users
///
- public class UsersRequestBuilder : BaseRequestBuilder {
+ public class UsersRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.attackDetection.bruteForce.users.item collection
/// Unique identifier of the item
/// A
- public WithUserItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("userId", position);
- return new WithUserItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public WithUserItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("userId", position);
+ return new WithUserItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public UsersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users", pathParameters) {
+ public UsersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users", rawUrl) {
+ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/attack-detection/brute-force/users", rawUrl)
+ {
}
///
/// Clear any user login failures for all users This can release temporary disabled users
@@ -42,10 +49,12 @@ public UsersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -57,10 +66,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -71,7 +82,8 @@ public RequestInformation ToDeleteRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public UsersRequestBuilder WithUrl(string rawUrl) {
+ public UsersRequestBuilder WithUrl(string rawUrl)
+ {
return new UsersRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs
index c0c4782b..0a419322 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticationRequestBuilder.cs
@@ -21,68 +21,83 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication
///
- public class AuthenticationRequestBuilder : BaseRequestBuilder {
+ public class AuthenticationRequestBuilder : BaseRequestBuilder
+ {
/// The authenticatorProviders property
- public AuthenticatorProvidersRequestBuilder AuthenticatorProviders { get =>
- new AuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter);
+ public AuthenticatorProvidersRequestBuilder AuthenticatorProviders
+ {
+ get => new AuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter);
}
/// The clientAuthenticatorProviders property
- public ClientAuthenticatorProvidersRequestBuilder ClientAuthenticatorProviders { get =>
- new ClientAuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter);
+ public ClientAuthenticatorProvidersRequestBuilder ClientAuthenticatorProviders
+ {
+ get => new ClientAuthenticatorProvidersRequestBuilder(PathParameters, RequestAdapter);
}
/// The config property
- public ConfigRequestBuilder Config { get =>
- new ConfigRequestBuilder(PathParameters, RequestAdapter);
+ public ConfigRequestBuilder Config
+ {
+ get => new ConfigRequestBuilder(PathParameters, RequestAdapter);
}
/// The configDescription property
- public ConfigDescriptionRequestBuilder ConfigDescription { get =>
- new ConfigDescriptionRequestBuilder(PathParameters, RequestAdapter);
+ public ConfigDescriptionRequestBuilder ConfigDescription
+ {
+ get => new ConfigDescriptionRequestBuilder(PathParameters, RequestAdapter);
}
/// The executions property
- public ExecutionsRequestBuilder Executions { get =>
- new ExecutionsRequestBuilder(PathParameters, RequestAdapter);
+ public ExecutionsRequestBuilder Executions
+ {
+ get => new ExecutionsRequestBuilder(PathParameters, RequestAdapter);
}
/// The flows property
- public FlowsRequestBuilder Flows { get =>
- new FlowsRequestBuilder(PathParameters, RequestAdapter);
+ public FlowsRequestBuilder Flows
+ {
+ get => new FlowsRequestBuilder(PathParameters, RequestAdapter);
}
/// The formActionProviders property
- public FormActionProvidersRequestBuilder FormActionProviders { get =>
- new FormActionProvidersRequestBuilder(PathParameters, RequestAdapter);
+ public FormActionProvidersRequestBuilder FormActionProviders
+ {
+ get => new FormActionProvidersRequestBuilder(PathParameters, RequestAdapter);
}
/// The formProviders property
- public FormProvidersRequestBuilder FormProviders { get =>
- new FormProvidersRequestBuilder(PathParameters, RequestAdapter);
+ public FormProvidersRequestBuilder FormProviders
+ {
+ get => new FormProvidersRequestBuilder(PathParameters, RequestAdapter);
}
/// The perClientConfigDescription property
- public PerClientConfigDescriptionRequestBuilder PerClientConfigDescription { get =>
- new PerClientConfigDescriptionRequestBuilder(PathParameters, RequestAdapter);
+ public PerClientConfigDescriptionRequestBuilder PerClientConfigDescription
+ {
+ get => new PerClientConfigDescriptionRequestBuilder(PathParameters, RequestAdapter);
}
/// The registerRequiredAction property
- public RegisterRequiredActionRequestBuilder RegisterRequiredAction { get =>
- new RegisterRequiredActionRequestBuilder(PathParameters, RequestAdapter);
+ public RegisterRequiredActionRequestBuilder RegisterRequiredAction
+ {
+ get => new RegisterRequiredActionRequestBuilder(PathParameters, RequestAdapter);
}
/// The requiredActions property
- public RequiredActionsRequestBuilder RequiredActions { get =>
- new RequiredActionsRequestBuilder(PathParameters, RequestAdapter);
+ public RequiredActionsRequestBuilder RequiredActions
+ {
+ get => new RequiredActionsRequestBuilder(PathParameters, RequestAdapter);
}
/// The unregisteredRequiredActions property
- public UnregisteredRequiredActionsRequestBuilder UnregisteredRequiredActions { get =>
- new UnregisteredRequiredActionsRequestBuilder(PathParameters, RequestAdapter);
+ public UnregisteredRequiredActionsRequestBuilder UnregisteredRequiredActions
+ {
+ get => new UnregisteredRequiredActionsRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public AuthenticationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication", pathParameters) {
+ public AuthenticationRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public AuthenticationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication", rawUrl) {
+ public AuthenticationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication", rawUrl)
+ {
}
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs
index b56971d4..1180eb96 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProviders.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.AuthenticatorProviders {
- public class AuthenticatorProviders : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class AuthenticatorProviders : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public AuthenticatorProviders() {
+ public AuthenticatorProviders()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public AuthenticatorProviders() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static AuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static AuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new AuthenticatorProviders();
}
@@ -27,15 +32,18 @@ public static AuthenticatorProviders CreateFromDiscriminatorValue(IParseNode par
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs
index eb6c0bc1..426a3ffc 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/AuthenticatorProviders/AuthenticatorProvidersRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\authenticator-providers
///
- public class AuthenticatorProvidersRequestBuilder : BaseRequestBuilder {
+ public class AuthenticatorProvidersRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public AuthenticatorProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/authenticator-providers", pathParameters) {
+ public AuthenticatorProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/authenticator-providers", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public AuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/authenticator-providers", rawUrl) {
+ public AuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/authenticator-providers", rawUrl)
+ {
}
///
/// Get authenticator providers Returns a stream of authenticator providers.
@@ -34,10 +37,12 @@ public AuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter reque
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AuthenticatorProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -65,7 +72,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public AuthenticatorProvidersRequestBuilder WithUrl(string rawUrl) {
+ public AuthenticatorProvidersRequestBuilder WithUrl(string rawUrl)
+ {
return new AuthenticatorProvidersRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs
index 6fb2263a..5a7e7a60 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProviders.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.ClientAuthenticatorProviders {
- public class ClientAuthenticatorProviders : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class ClientAuthenticatorProviders : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public ClientAuthenticatorProviders() {
+ public ClientAuthenticatorProviders()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public ClientAuthenticatorProviders() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static ClientAuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static ClientAuthenticatorProviders CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new ClientAuthenticatorProviders();
}
@@ -27,15 +32,18 @@ public static ClientAuthenticatorProviders CreateFromDiscriminatorValue(IParseNo
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs
index fa0e902e..deae920b 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ClientAuthenticatorProviders/ClientAuthenticatorProvidersRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\client-authenticator-providers
///
- public class ClientAuthenticatorProvidersRequestBuilder : BaseRequestBuilder {
+ public class ClientAuthenticatorProvidersRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ClientAuthenticatorProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/client-authenticator-providers", pathParameters) {
+ public ClientAuthenticatorProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/client-authenticator-providers", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ClientAuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/client-authenticator-providers", rawUrl) {
+ public ClientAuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/client-authenticator-providers", rawUrl)
+ {
}
///
/// Get client authenticator providers Returns a stream of client authenticator providers.
@@ -34,10 +37,12 @@ public ClientAuthenticatorProvidersRequestBuilder(string rawUrl, IRequestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, ClientAuthenticatorProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -65,7 +72,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public ClientAuthenticatorProvidersRequestBuilder WithUrl(string rawUrl) {
+ public ClientAuthenticatorProvidersRequestBuilder WithUrl(string rawUrl)
+ {
return new ClientAuthenticatorProvidersRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs
index d9eaf4fd..ecbb90e0 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/ConfigRequestBuilder.cs
@@ -13,28 +13,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config
///
- public class ConfigRequestBuilder : BaseRequestBuilder {
+ public class ConfigRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.config.item collection
/// Configuration id
/// A
- public ConfigItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("id", position);
- return new ConfigItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public ConfigItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("id", position);
+ return new ConfigItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config", pathParameters) {
+ public ConfigRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config", rawUrl) {
+ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config", rawUrl)
+ {
}
///
/// Create new authenticator configuration
@@ -46,10 +53,12 @@ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
[Obsolete("")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -64,10 +73,12 @@ public async Task PostAsync(AuthenticatorConfigRepresentation body, Acti
[Obsolete("")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -81,7 +92,8 @@ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresenta
/// A
/// The raw URL to use for the request builder.
[Obsolete("")]
- public ConfigRequestBuilder WithUrl(string rawUrl) {
+ public ConfigRequestBuilder WithUrl(string rawUrl)
+ {
return new ConfigRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs
index dfb9424c..4137c90a 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Config/Item/ConfigItemRequestBuilder.cs
@@ -12,20 +12,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config\{id}
///
- public class ConfigItemRequestBuilder : BaseRequestBuilder {
+ public class ConfigItemRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config/{id}", pathParameters) {
+ public ConfigItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config/{id}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config/{id}", rawUrl) {
+ public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config/{id}", rawUrl)
+ {
}
///
/// Delete authenticator configuration
@@ -34,10 +37,12 @@ public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -66,10 +73,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PutAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PutAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
@@ -82,10 +91,12 @@ public async Task PutAsync(AuthenticatorConfigRepresentation body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -98,10 +109,12 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -116,10 +129,12 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters);
@@ -132,7 +147,8 @@ public RequestInformation ToPutRequestInformation(AuthenticatorConfigRepresentat
///
/// A
/// The raw URL to use for the request builder.
- public ConfigItemRequestBuilder WithUrl(string rawUrl) {
+ public ConfigItemRequestBuilder WithUrl(string rawUrl)
+ {
return new ConfigItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs
index efc2e571..4266afbc 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/ConfigDescriptionRequestBuilder.cs
@@ -10,28 +10,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config-description
///
- public class ConfigDescriptionRequestBuilder : BaseRequestBuilder {
+ public class ConfigDescriptionRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.configDescription.item collection
/// Unique identifier of the item
/// A
- public WithProviderItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("providerId", position);
- return new WithProviderItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public WithProviderItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("providerId", position);
+ return new WithProviderItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigDescriptionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description", pathParameters) {
+ public ConfigDescriptionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description", rawUrl) {
+ public ConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description", rawUrl)
+ {
}
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs
index d00c9a69..baf8d3ba 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/ConfigDescription/Item/WithProviderItemRequestBuilder.cs
@@ -12,20 +12,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\config-description\{providerId}
///
- public class WithProviderItemRequestBuilder : BaseRequestBuilder {
+ public class WithProviderItemRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public WithProviderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description/{providerId}", pathParameters) {
+ public WithProviderItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description/{providerId}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public WithProviderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description/{providerId}", rawUrl) {
+ public WithProviderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/config-description/{providerId}", rawUrl)
+ {
}
///
/// Get authenticator provider's configuration description
@@ -35,10 +38,12 @@ public WithProviderItemRequestBuilder(string rawUrl, IRequestAdapter requestAdap
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, AuthenticatorConfigInfoRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -65,7 +72,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public WithProviderItemRequestBuilder WithUrl(string rawUrl) {
+ public WithProviderItemRequestBuilder WithUrl(string rawUrl)
+ {
return new WithProviderItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs
index 2df066a6..dd1b4099 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/ExecutionsRequestBuilder.cs
@@ -13,28 +13,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions
///
- public class ExecutionsRequestBuilder : BaseRequestBuilder {
+ public class ExecutionsRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.executions.item collection
/// Unique identifier of the item
/// A
- public WithExecutionItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("executionId", position);
- return new WithExecutionItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public WithExecutionItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("executionId", position);
+ return new WithExecutionItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ExecutionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions", pathParameters) {
+ public ExecutionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions", rawUrl) {
+ public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions", rawUrl)
+ {
}
///
/// Add new authentication execution
@@ -45,10 +52,12 @@ public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(AuthenticationExecutionRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticationExecutionRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -62,10 +71,12 @@ public async Task PostAsync(AuthenticationExecutionRepresentation body,
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -78,7 +89,8 @@ public RequestInformation ToPostRequestInformation(AuthenticationExecutionRepres
///
/// A
/// The raw URL to use for the request builder.
- public ExecutionsRequestBuilder WithUrl(string rawUrl) {
+ public ExecutionsRequestBuilder WithUrl(string rawUrl)
+ {
return new ExecutionsRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs
index 60eb7afb..ab6e95bd 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/ConfigRequestBuilder.cs
@@ -13,29 +13,36 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\config
///
- public class ConfigRequestBuilder : BaseRequestBuilder {
+ public class ConfigRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.executions.item.config.item collection
/// Configuration id
/// A
[Obsolete("")]
- public ConfigItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("id", position);
- return new ConfigItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public ConfigItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("id", position);
+ return new ConfigItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config", pathParameters) {
+ public ConfigRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config", rawUrl) {
+ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config", rawUrl)
+ {
}
///
/// Update execution with new configuration
@@ -46,10 +53,12 @@ public ConfigRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -63,10 +72,12 @@ public async Task PostAsync(AuthenticatorConfigRepresentation body, Acti
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -79,7 +90,8 @@ public RequestInformation ToPostRequestInformation(AuthenticatorConfigRepresenta
///
/// A
/// The raw URL to use for the request builder.
- public ConfigRequestBuilder WithUrl(string rawUrl) {
+ public ConfigRequestBuilder WithUrl(string rawUrl)
+ {
return new ConfigRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs
index bd8b775e..3bd7346f 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/Config/Item/ConfigItemRequestBuilder.cs
@@ -12,20 +12,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\config\{id}
///
- public class ConfigItemRequestBuilder : BaseRequestBuilder {
+ public class ConfigItemRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ConfigItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config/{id}", pathParameters) {
+ public ConfigItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config/{id}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config/{id}", rawUrl) {
+ public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/config/{id}", rawUrl)
+ {
}
///
/// Get execution's configuration
@@ -36,10 +39,12 @@ public ConfigItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
[Obsolete("")]
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, AuthenticatorConfigRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -52,10 +57,12 @@ public async Task GetAsync(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -68,7 +75,8 @@ public RequestInformation ToGetRequestInformation(ActionA
/// The raw URL to use for the request builder.
[Obsolete("")]
- public ConfigItemRequestBuilder WithUrl(string rawUrl) {
+ public ConfigItemRequestBuilder WithUrl(string rawUrl)
+ {
return new ConfigItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs
index 6abb5618..7f0d838e 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/LowerPriority/LowerPriorityRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\lower-priority
///
- public class LowerPriorityRequestBuilder : BaseRequestBuilder {
+ public class LowerPriorityRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public LowerPriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/lower-priority", pathParameters) {
+ public LowerPriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/lower-priority", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public LowerPriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/lower-priority", rawUrl) {
+ public LowerPriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/lower-priority", rawUrl)
+ {
}
///
/// Lower execution's priority
@@ -33,10 +36,12 @@ public LowerPriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToPostRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -48,10 +53,12 @@ public async Task PostAsync(Action>
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -62,7 +69,8 @@ public RequestInformation ToPostRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public LowerPriorityRequestBuilder WithUrl(string rawUrl) {
+ public LowerPriorityRequestBuilder WithUrl(string rawUrl)
+ {
return new LowerPriorityRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs
index 15c1dc02..122f0c07 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/RaisePriority/RaisePriorityRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}\raise-priority
///
- public class RaisePriorityRequestBuilder : BaseRequestBuilder {
+ public class RaisePriorityRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RaisePriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/raise-priority", pathParameters) {
+ public RaisePriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/raise-priority", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RaisePriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/raise-priority", rawUrl) {
+ public RaisePriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}/raise-priority", rawUrl)
+ {
}
///
/// Raise execution's priority
@@ -33,10 +36,12 @@ public RaisePriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToPostRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -48,10 +53,12 @@ public async Task PostAsync(Action>
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -62,7 +69,8 @@ public RequestInformation ToPostRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public RaisePriorityRequestBuilder WithUrl(string rawUrl) {
+ public RaisePriorityRequestBuilder WithUrl(string rawUrl)
+ {
return new RaisePriorityRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs
index 389ba274..cf0be5b8 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Executions/Item/WithExecutionItemRequestBuilder.cs
@@ -14,32 +14,38 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\executions\{executionId}
///
- public class WithExecutionItemRequestBuilder : BaseRequestBuilder {
+ public class WithExecutionItemRequestBuilder : BaseRequestBuilder
+ {
/// The config property
- public ConfigRequestBuilder Config { get =>
- new ConfigRequestBuilder(PathParameters, RequestAdapter);
+ public ConfigRequestBuilder Config
+ {
+ get => new ConfigRequestBuilder(PathParameters, RequestAdapter);
}
/// The lowerPriority property
- public LowerPriorityRequestBuilder LowerPriority { get =>
- new LowerPriorityRequestBuilder(PathParameters, RequestAdapter);
+ public LowerPriorityRequestBuilder LowerPriority
+ {
+ get => new LowerPriorityRequestBuilder(PathParameters, RequestAdapter);
}
/// The raisePriority property
- public RaisePriorityRequestBuilder RaisePriority { get =>
- new RaisePriorityRequestBuilder(PathParameters, RequestAdapter);
+ public RaisePriorityRequestBuilder RaisePriority
+ {
+ get => new RaisePriorityRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public WithExecutionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}", pathParameters) {
+ public WithExecutionItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public WithExecutionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}", rawUrl) {
+ public WithExecutionItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/executions/{executionId}", rawUrl)
+ {
}
///
/// Delete execution
@@ -48,10 +54,12 @@ public WithExecutionItemRequestBuilder(string rawUrl, IRequestAdapter requestAda
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -64,10 +72,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -79,10 +89,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -95,10 +107,12 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -109,7 +123,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public WithExecutionItemRequestBuilder WithUrl(string rawUrl) {
+ public WithExecutionItemRequestBuilder WithUrl(string rawUrl)
+ {
return new WithExecutionItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs
index 22c493e1..e08313b2 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/FlowsRequestBuilder.cs
@@ -13,28 +13,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows
///
- public class FlowsRequestBuilder : BaseRequestBuilder {
+ public class FlowsRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.flows.item collection
/// Flow id
/// A
- public FlowAliasItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("flowAlias%2Did", position);
- return new FlowAliasItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public FlowAliasItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("flowAlias%2Did", position);
+ return new FlowAliasItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public FlowsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows", pathParameters) {
+ public FlowsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public FlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows", rawUrl) {
+ public FlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows", rawUrl)
+ {
}
///
/// Get authentication flows Returns a stream of authentication flows.
@@ -44,10 +51,12 @@ public FlowsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, AuthenticationFlowRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -62,10 +71,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -78,10 +89,12 @@ public async Task PostAsync(AuthenticationFlowRepresentation body, Actio
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -96,10 +109,12 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -112,7 +127,8 @@ public RequestInformation ToPostRequestInformation(AuthenticationFlowRepresentat
///
/// A
/// The raw URL to use for the request builder.
- public FlowsRequestBuilder WithUrl(string rawUrl) {
+ public FlowsRequestBuilder WithUrl(string rawUrl)
+ {
return new FlowsRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs
index 5429d54f..2b29dd78 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyPostRequestBody.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Copy {
- public class CopyPostRequestBody : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class CopyPostRequestBody : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public CopyPostRequestBody() {
+ public CopyPostRequestBody()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public CopyPostRequestBody() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new CopyPostRequestBody();
}
@@ -27,15 +32,18 @@ public static CopyPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs
index 6541c0e6..3033fa79 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Copy/CopyRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\copy
///
- public class CopyRequestBuilder : BaseRequestBuilder {
+ public class CopyRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/copy", pathParameters) {
+ public CopyRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/copy", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/copy", rawUrl) {
+ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/copy", rawUrl)
+ {
}
///
/// Copy existing authentication flow under a new name The new name is given as 'newName' attribute of the passed JSON object
@@ -35,10 +38,12 @@ public CopyRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(CopyPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(CopyPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -52,10 +57,12 @@ public async Task PostAsync(CopyPostRequestBody body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -68,7 +75,8 @@ public RequestInformation ToPostRequestInformation(CopyPostRequestBody body, Act
///
/// A
/// The raw URL to use for the request builder.
- public CopyRequestBuilder WithUrl(string rawUrl) {
+ public CopyRequestBuilder WithUrl(string rawUrl)
+ {
return new CopyRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs
index 1f77683b..a4b24c55 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionPostRequestBody.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Execution {
- public class ExecutionPostRequestBody : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class ExecutionPostRequestBody : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public ExecutionPostRequestBody() {
+ public ExecutionPostRequestBody()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public ExecutionPostRequestBody() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static ExecutionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static ExecutionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new ExecutionPostRequestBody();
}
@@ -27,15 +32,18 @@ public static ExecutionPostRequestBody CreateFromDiscriminatorValue(IParseNode p
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs
index b9c3c6a4..91b94484 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Execution/ExecutionRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\executions\execution
///
- public class ExecutionRequestBuilder : BaseRequestBuilder {
+ public class ExecutionRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ExecutionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/execution", pathParameters) {
+ public ExecutionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/execution", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ExecutionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/execution", rawUrl) {
+ public ExecutionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/execution", rawUrl)
+ {
}
///
/// Add new authentication execution to a flow
@@ -35,10 +38,12 @@ public ExecutionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(ExecutionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(ExecutionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(ExecutionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(ExecutionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -52,10 +57,12 @@ public async Task PostAsync(ExecutionPostRequestBody body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -68,7 +75,8 @@ public RequestInformation ToPostRequestInformation(ExecutionPostRequestBody body
///
/// A
/// The raw URL to use for the request builder.
- public ExecutionRequestBuilder WithUrl(string rawUrl) {
+ public ExecutionRequestBuilder WithUrl(string rawUrl)
+ {
return new ExecutionRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs
index bc8b9c0c..069c5675 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/ExecutionsRequestBuilder.cs
@@ -14,28 +14,33 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\executions
///
- public class ExecutionsRequestBuilder : BaseRequestBuilder {
+ public class ExecutionsRequestBuilder : BaseRequestBuilder
+ {
/// The execution property
- public ExecutionRequestBuilder Execution { get =>
- new ExecutionRequestBuilder(PathParameters, RequestAdapter);
+ public ExecutionRequestBuilder Execution
+ {
+ get => new ExecutionRequestBuilder(PathParameters, RequestAdapter);
}
/// The flow property
- public FlowRequestBuilder Flow { get =>
- new FlowRequestBuilder(PathParameters, RequestAdapter);
+ public FlowRequestBuilder Flow
+ {
+ get => new FlowRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ExecutionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions", pathParameters) {
+ public ExecutionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions", rawUrl) {
+ public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions", rawUrl)
+ {
}
///
/// Get authentication executions for a flow
@@ -45,10 +50,12 @@ public ExecutionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) :
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendPrimitiveAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -62,10 +69,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PutAsync(AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PutAsync(AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
@@ -78,10 +87,12 @@ public async Task PutAsync(AuthenticationExecutionInfoRepresentation bod
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -95,10 +106,12 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters);
@@ -111,7 +124,8 @@ public RequestInformation ToPutRequestInformation(AuthenticationExecutionInfoRep
///
/// A
/// The raw URL to use for the request builder.
- public ExecutionsRequestBuilder WithUrl(string rawUrl) {
+ public ExecutionsRequestBuilder WithUrl(string rawUrl)
+ {
return new ExecutionsRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs
index f01411c9..536136c2 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowPostRequestBody.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.Flows.Item.Executions.Flow {
- public class FlowPostRequestBody : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class FlowPostRequestBody : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public FlowPostRequestBody() {
+ public FlowPostRequestBody()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public FlowPostRequestBody() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static FlowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static FlowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new FlowPostRequestBody();
}
@@ -27,15 +32,18 @@ public static FlowPostRequestBody CreateFromDiscriminatorValue(IParseNode parseN
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs
index f48352e6..6491789e 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/Executions/Flow/FlowRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}\executions\flow
///
- public class FlowRequestBuilder : BaseRequestBuilder {
+ public class FlowRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public FlowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/flow", pathParameters) {
+ public FlowRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/flow", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public FlowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/flow", rawUrl) {
+ public FlowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}/executions/flow", rawUrl)
+ {
}
///
/// Add new flow with new execution to existing flow
@@ -35,10 +38,12 @@ public FlowRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(FlowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(FlowPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(FlowPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(FlowPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -52,10 +57,12 @@ public async Task PostAsync(FlowPostRequestBody body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -68,7 +75,8 @@ public RequestInformation ToPostRequestInformation(FlowPostRequestBody body, Act
///
/// A
/// The raw URL to use for the request builder.
- public FlowRequestBuilder WithUrl(string rawUrl) {
+ public FlowRequestBuilder WithUrl(string rawUrl)
+ {
return new FlowRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs
index 5f9f20f5..e622c232 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/Flows/Item/FlowAliasItemRequestBuilder.cs
@@ -14,28 +14,33 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\flows\{flowAlias-id}
///
- public class FlowAliasItemRequestBuilder : BaseRequestBuilder {
+ public class FlowAliasItemRequestBuilder : BaseRequestBuilder
+ {
/// The copy property
- public CopyRequestBuilder Copy { get =>
- new CopyRequestBuilder(PathParameters, RequestAdapter);
+ public CopyRequestBuilder Copy
+ {
+ get => new CopyRequestBuilder(PathParameters, RequestAdapter);
}
/// The executions property
- public ExecutionsRequestBuilder Executions { get =>
- new ExecutionsRequestBuilder(PathParameters, RequestAdapter);
+ public ExecutionsRequestBuilder Executions
+ {
+ get => new ExecutionsRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public FlowAliasItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}", pathParameters) {
+ public FlowAliasItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public FlowAliasItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}", rawUrl) {
+ public FlowAliasItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/flows/{flowAlias%2Did}", rawUrl)
+ {
}
///
/// Delete an authentication flow
@@ -44,10 +49,12 @@ public FlowAliasItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -60,10 +67,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, AuthenticationFlowRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -77,10 +86,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PutAsync(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PutAsync(AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(AuthenticationFlowRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
@@ -93,10 +104,12 @@ public async Task PutAsync(AuthenticationFlowRepresentation body, Action
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -109,10 +122,12 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -127,10 +142,12 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters);
@@ -143,7 +160,8 @@ public RequestInformation ToPutRequestInformation(AuthenticationFlowRepresentati
///
/// A
/// The raw URL to use for the request builder.
- public FlowAliasItemRequestBuilder WithUrl(string rawUrl) {
+ public FlowAliasItemRequestBuilder WithUrl(string rawUrl)
+ {
return new FlowAliasItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs
index 98efd7f8..bd554a80 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProviders.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormActionProviders {
- public class FormActionProviders : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class FormActionProviders : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public FormActionProviders() {
+ public FormActionProviders()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public FormActionProviders() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static FormActionProviders CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static FormActionProviders CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new FormActionProviders();
}
@@ -27,15 +32,18 @@ public static FormActionProviders CreateFromDiscriminatorValue(IParseNode parseN
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs
index 323ade68..e7817857 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormActionProviders/FormActionProvidersRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\form-action-providers
///
- public class FormActionProvidersRequestBuilder : BaseRequestBuilder {
+ public class FormActionProvidersRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public FormActionProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-action-providers", pathParameters) {
+ public FormActionProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-action-providers", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public FormActionProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-action-providers", rawUrl) {
+ public FormActionProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-action-providers", rawUrl)
+ {
}
///
/// Get form action providers Returns a stream of form action providers.
@@ -34,10 +37,12 @@ public FormActionProvidersRequestBuilder(string rawUrl, IRequestAdapter requestA
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, FormActionProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -65,7 +72,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public FormActionProvidersRequestBuilder WithUrl(string rawUrl) {
+ public FormActionProvidersRequestBuilder WithUrl(string rawUrl)
+ {
return new FormActionProvidersRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs
index 9c32241b..9a2d6775 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProviders.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.FormProviders {
- public class FormProviders : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class FormProviders : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public FormProviders() {
+ public FormProviders()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public FormProviders() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static FormProviders CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static FormProviders CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new FormProviders();
}
@@ -27,15 +32,18 @@ public static FormProviders CreateFromDiscriminatorValue(IParseNode parseNode) {
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs
index 2813c3fb..3a58798e 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/FormProviders/FormProvidersRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\form-providers
///
- public class FormProvidersRequestBuilder : BaseRequestBuilder {
+ public class FormProvidersRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public FormProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-providers", pathParameters) {
+ public FormProvidersRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-providers", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public FormProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-providers", rawUrl) {
+ public FormProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/form-providers", rawUrl)
+ {
}
///
/// Get form providers Returns a stream of form providers.
@@ -34,10 +37,12 @@ public FormProvidersRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, FormProviders.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -65,7 +72,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public FormProvidersRequestBuilder WithUrl(string rawUrl) {
+ public FormProvidersRequestBuilder WithUrl(string rawUrl)
+ {
return new FormProvidersRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs
index 85c454bf..c2e126f2 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionGetResponse.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.PerClientConfigDescription {
- public class PerClientConfigDescriptionGetResponse : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class PerClientConfigDescriptionGetResponse : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public PerClientConfigDescriptionGetResponse() {
+ public PerClientConfigDescriptionGetResponse()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public PerClientConfigDescriptionGetResponse() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static PerClientConfigDescriptionGetResponse CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static PerClientConfigDescriptionGetResponse CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new PerClientConfigDescriptionGetResponse();
}
@@ -27,15 +32,18 @@ public static PerClientConfigDescriptionGetResponse CreateFromDiscriminatorValue
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs
index 7890d05b..29ca47d7 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/PerClientConfigDescription/PerClientConfigDescriptionRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\per-client-config-description
///
- public class PerClientConfigDescriptionRequestBuilder : BaseRequestBuilder {
+ public class PerClientConfigDescriptionRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public PerClientConfigDescriptionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/per-client-config-description", pathParameters) {
+ public PerClientConfigDescriptionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/per-client-config-description", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public PerClientConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/per-client-config-description", rawUrl) {
+ public PerClientConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/per-client-config-description", rawUrl)
+ {
}
///
/// Get configuration descriptions for all clients
@@ -34,10 +37,12 @@ public PerClientConfigDescriptionRequestBuilder(string rawUrl, IRequestAdapter r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, PerClientConfigDescriptionGetResponse.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -49,10 +54,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -64,7 +71,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public PerClientConfigDescriptionRequestBuilder WithUrl(string rawUrl) {
+ public PerClientConfigDescriptionRequestBuilder WithUrl(string rawUrl)
+ {
return new PerClientConfigDescriptionRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs
index a39c7fe4..62c8448d 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionPostRequestBody.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.RegisterRequiredAction {
- public class RegisterRequiredActionPostRequestBody : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class RegisterRequiredActionPostRequestBody : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public RegisterRequiredActionPostRequestBody() {
+ public RegisterRequiredActionPostRequestBody()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public RegisterRequiredActionPostRequestBody() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static RegisterRequiredActionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static RegisterRequiredActionPostRequestBody CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new RegisterRequiredActionPostRequestBody();
}
@@ -27,15 +32,18 @@ public static RegisterRequiredActionPostRequestBody CreateFromDiscriminatorValue
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs
index 28a6c20d..00e0e88a 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RegisterRequiredAction/RegisterRequiredActionRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\register-required-action
///
- public class RegisterRequiredActionRequestBuilder : BaseRequestBuilder {
+ public class RegisterRequiredActionRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RegisterRequiredActionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/register-required-action", pathParameters) {
+ public RegisterRequiredActionRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/register-required-action", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RegisterRequiredActionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/register-required-action", rawUrl) {
+ public RegisterRequiredActionRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/register-required-action", rawUrl)
+ {
}
///
/// Register a new required actions
@@ -34,10 +37,12 @@ public RegisterRequiredActionRequestBuilder(string rawUrl, IRequestAdapter reque
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -51,10 +56,12 @@ public async Task PostAsync(RegisterRequiredActionPostRequestBody body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostRequestBody body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostRequestBody body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -67,7 +74,8 @@ public RequestInformation ToPostRequestInformation(RegisterRequiredActionPostReq
///
/// A
/// The raw URL to use for the request builder.
- public RegisterRequiredActionRequestBuilder WithUrl(string rawUrl) {
+ public RegisterRequiredActionRequestBuilder WithUrl(string rawUrl)
+ {
return new RegisterRequiredActionRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs
index 9073ed9b..2bb48383 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/LowerPriority/LowerPriorityRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}\lower-priority
///
- public class LowerPriorityRequestBuilder : BaseRequestBuilder {
+ public class LowerPriorityRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public LowerPriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority", pathParameters) {
+ public LowerPriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public LowerPriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority", rawUrl) {
+ public LowerPriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/lower-priority", rawUrl)
+ {
}
///
/// Lower required action's priority
@@ -33,10 +36,12 @@ public LowerPriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToPostRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -48,10 +53,12 @@ public async Task PostAsync(Action>
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -62,7 +69,8 @@ public RequestInformation ToPostRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public LowerPriorityRequestBuilder WithUrl(string rawUrl) {
+ public LowerPriorityRequestBuilder WithUrl(string rawUrl)
+ {
return new LowerPriorityRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs
index 1cac212d..261a5b20 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/RaisePriority/RaisePriorityRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}\raise-priority
///
- public class RaisePriorityRequestBuilder : BaseRequestBuilder {
+ public class RaisePriorityRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RaisePriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority", pathParameters) {
+ public RaisePriorityRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RaisePriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority", rawUrl) {
+ public RaisePriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}/raise-priority", rawUrl)
+ {
}
///
/// Raise required action's priority
@@ -33,10 +36,12 @@ public RaisePriorityRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToPostRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -48,10 +53,12 @@ public async Task PostAsync(Action>
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -62,7 +69,8 @@ public RequestInformation ToPostRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public RaisePriorityRequestBuilder WithUrl(string rawUrl) {
+ public RaisePriorityRequestBuilder WithUrl(string rawUrl)
+ {
return new RaisePriorityRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs
index e878ef7d..17e2794c 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/Item/WithAliasItemRequestBuilder.cs
@@ -14,28 +14,33 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions\{alias}
///
- public class WithAliasItemRequestBuilder : BaseRequestBuilder {
+ public class WithAliasItemRequestBuilder : BaseRequestBuilder
+ {
/// The lowerPriority property
- public LowerPriorityRequestBuilder LowerPriority { get =>
- new LowerPriorityRequestBuilder(PathParameters, RequestAdapter);
+ public LowerPriorityRequestBuilder LowerPriority
+ {
+ get => new LowerPriorityRequestBuilder(PathParameters, RequestAdapter);
}
/// The raisePriority property
- public RaisePriorityRequestBuilder RaisePriority { get =>
- new RaisePriorityRequestBuilder(PathParameters, RequestAdapter);
+ public RaisePriorityRequestBuilder RaisePriority
+ {
+ get => new RaisePriorityRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public WithAliasItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}", pathParameters) {
+ public WithAliasItemRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public WithAliasItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}", rawUrl) {
+ public WithAliasItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions/{alias}", rawUrl)
+ {
}
///
/// Delete required action
@@ -44,10 +49,12 @@ public WithAliasItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task DeleteAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToDeleteRequestInformation(requestConfiguration);
await RequestAdapter.SendNoContentAsync(requestInfo, default, cancellationToken).ConfigureAwait(false);
@@ -60,10 +67,12 @@ public async Task DeleteAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, RequiredActionProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -76,10 +85,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PutAsync(RequiredActionProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(RequiredActionProviderRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PutAsync(RequiredActionProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(RequiredActionProviderRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
@@ -92,10 +103,12 @@ public async Task PutAsync(RequiredActionProviderRepresentation body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToDeleteRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.DELETE, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -108,10 +121,12 @@ public RequestInformation ToDeleteRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -126,10 +141,12 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresentation body, Action> requestConfiguration = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.PUT, UrlTemplate, PathParameters);
@@ -142,7 +159,8 @@ public RequestInformation ToPutRequestInformation(RequiredActionProviderRepresen
///
/// A
/// The raw URL to use for the request builder.
- public WithAliasItemRequestBuilder WithUrl(string rawUrl) {
+ public WithAliasItemRequestBuilder WithUrl(string rawUrl)
+ {
return new WithAliasItemRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs
index 745fda30..0e6576b5 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/RequiredActions/RequiredActionsRequestBuilder.cs
@@ -13,28 +13,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\required-actions
///
- public class RequiredActionsRequestBuilder : BaseRequestBuilder {
+ public class RequiredActionsRequestBuilder : BaseRequestBuilder
+ {
/// Gets an item from the Keycloak.AuthServices.Sdk.Kiota.Admin.admin.realms.item.authentication.requiredActions.item collection
/// Alias of required action
/// A
- public WithAliasItemRequestBuilder this[string position] { get {
- var urlTplParams = new Dictionary(PathParameters);
- urlTplParams.Add("alias", position);
- return new WithAliasItemRequestBuilder(urlTplParams, RequestAdapter);
- } }
+ public WithAliasItemRequestBuilder this[string position]
+ {
+ get
+ {
+ var urlTplParams = new Dictionary(PathParameters);
+ urlTplParams.Add("alias", position);
+ return new WithAliasItemRequestBuilder(urlTplParams, RequestAdapter);
+ }
+ }
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public RequiredActionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions", pathParameters) {
+ public RequiredActionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public RequiredActionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions", rawUrl) {
+ public RequiredActionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/required-actions", rawUrl)
+ {
}
///
/// Get required actions Returns a stream of required actions.
@@ -44,10 +51,12 @@ public RequiredActionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapt
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, RequiredActionProviderRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -60,10 +69,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -75,7 +86,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public RequiredActionsRequestBuilder WithUrl(string rawUrl) {
+ public RequiredActionsRequestBuilder WithUrl(string rawUrl)
+ {
return new RequiredActionsRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs
index 1fef8b22..9f7fd180 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActions.cs
@@ -5,13 +5,17 @@
using System.Linq;
using System;
namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication.UnregisteredRequiredActions {
- public class UnregisteredRequiredActions : IAdditionalDataHolder, IParsable {
+ #pragma warning disable CS1591
+ public class UnregisteredRequiredActions : IAdditionalDataHolder, IParsable
+ #pragma warning restore CS1591
+ {
/// Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
public IDictionary AdditionalData { get; set; }
///
/// Instantiates a new and sets the default values.
///
- public UnregisteredRequiredActions() {
+ public UnregisteredRequiredActions()
+ {
AdditionalData = new Dictionary();
}
///
@@ -19,7 +23,8 @@ public UnregisteredRequiredActions() {
///
/// A
/// The parse node to use to read the discriminator value and create the object
- public static UnregisteredRequiredActions CreateFromDiscriminatorValue(IParseNode parseNode) {
+ public static UnregisteredRequiredActions CreateFromDiscriminatorValue(IParseNode parseNode)
+ {
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
return new UnregisteredRequiredActions();
}
@@ -27,15 +32,18 @@ public static UnregisteredRequiredActions CreateFromDiscriminatorValue(IParseNod
/// The deserialization information for the current model
///
/// A IDictionary<string, Action<IParseNode>>
- public virtual IDictionary> GetFieldDeserializers() {
- return new Dictionary> {
+ public virtual IDictionary> GetFieldDeserializers()
+ {
+ return new Dictionary>
+ {
};
}
///
/// Serializes information the current object
///
/// Serialization writer to use to serialize this model
- public virtual void Serialize(ISerializationWriter writer) {
+ public virtual void Serialize(ISerializationWriter writer)
+ {
_ = writer ?? throw new ArgumentNullException(nameof(writer));
writer.WriteAdditionalData(AdditionalData);
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs
index 8a52da70..60841bc2 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/Authentication/UnregisteredRequiredActions/UnregisteredRequiredActionsRequestBuilder.cs
@@ -11,20 +11,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Authentication
///
/// Builds and executes requests for operations under \admin\realms\{realm}\authentication\unregistered-required-actions
///
- public class UnregisteredRequiredActionsRequestBuilder : BaseRequestBuilder {
+ public class UnregisteredRequiredActionsRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public UnregisteredRequiredActionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/unregistered-required-actions", pathParameters) {
+ public UnregisteredRequiredActionsRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/unregistered-required-actions", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public UnregisteredRequiredActionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/unregistered-required-actions", rawUrl) {
+ public UnregisteredRequiredActionsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/authentication/unregistered-required-actions", rawUrl)
+ {
}
///
/// Get unregistered required actions Returns a stream of unregistered required actions.
@@ -34,10 +37,12 @@ public UnregisteredRequiredActionsRequestBuilder(string rawUrl, IRequestAdapter
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task?> GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task> GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
var collectionResult = await RequestAdapter.SendCollectionAsync(requestInfo, UnregisteredRequiredActions.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -50,10 +55,12 @@ public async Task> GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -65,7 +72,8 @@ public RequestInformation ToGetRequestInformation(Action
/// A
/// The raw URL to use for the request builder.
- public UnregisteredRequiredActionsRequestBuilder WithUrl(string rawUrl) {
+ public UnregisteredRequiredActionsRequestBuilder WithUrl(string rawUrl)
+ {
return new UnregisteredRequiredActionsRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs
index d247fa66..b8098442 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientDescriptionConverter/ClientDescriptionConverterRequestBuilder.cs
@@ -12,20 +12,23 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientDescript
///
/// Builds and executes requests for operations under \admin\realms\{realm}\client-description-converter
///
- public class ClientDescriptionConverterRequestBuilder : BaseRequestBuilder {
+ public class ClientDescriptionConverterRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ClientDescriptionConverterRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-description-converter", pathParameters) {
+ public ClientDescriptionConverterRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-description-converter", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ClientDescriptionConverterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-description-converter", rawUrl) {
+ public ClientDescriptionConverterRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-description-converter", rawUrl)
+ {
}
///
/// Base path for importing clients under this realm.
@@ -36,10 +39,12 @@ public ClientDescriptionConverterRequestBuilder(string rawUrl, IRequestAdapter r
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PostAsync(string body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(string body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PostAsync(string body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PostAsync(string body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
if(string.IsNullOrEmpty(body)) throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
@@ -53,10 +58,12 @@ public async Task PostAsync(string body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPostRequestInformation(string body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(string body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPostRequestInformation(string body, Action> requestConfiguration = default) {
+ public RequestInformation ToPostRequestInformation(string body, Action> requestConfiguration = default)
+ {
#endif
if(string.IsNullOrEmpty(body)) throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation(Method.POST, UrlTemplate, PathParameters);
@@ -70,7 +77,8 @@ public RequestInformation ToPostRequestInformation(string body, Action
/// A
/// The raw URL to use for the request builder.
- public ClientDescriptionConverterRequestBuilder WithUrl(string rawUrl) {
+ public ClientDescriptionConverterRequestBuilder WithUrl(string rawUrl)
+ {
return new ClientDescriptionConverterRequestBuilder(rawUrl, RequestAdapter);
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs
index 962f8c77..074b3b4d 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/ClientPoliciesRequestBuilder.cs
@@ -11,28 +11,33 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies
///
/// Builds and executes requests for operations under \admin\realms\{realm}\client-policies
///
- public class ClientPoliciesRequestBuilder : BaseRequestBuilder {
+ public class ClientPoliciesRequestBuilder : BaseRequestBuilder
+ {
/// The policies property
- public PoliciesRequestBuilder Policies { get =>
- new PoliciesRequestBuilder(PathParameters, RequestAdapter);
+ public PoliciesRequestBuilder Policies
+ {
+ get => new PoliciesRequestBuilder(PathParameters, RequestAdapter);
}
/// The profiles property
- public ProfilesRequestBuilder Profiles { get =>
- new ProfilesRequestBuilder(PathParameters, RequestAdapter);
+ public ProfilesRequestBuilder Profiles
+ {
+ get => new ProfilesRequestBuilder(PathParameters, RequestAdapter);
}
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public ClientPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies", pathParameters) {
+ public ClientPoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public ClientPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies", rawUrl) {
+ public ClientPoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies", rawUrl)
+ {
}
}
}
diff --git a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs
index 61fe41fb..d69aae5b 100644
--- a/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs
+++ b/src/Keycloak.AuthServices.Sdk.Kiota/Admin/Realms/Item/ClientPolicies/Policies/PoliciesRequestBuilder.cs
@@ -12,30 +12,35 @@ namespace Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.ClientPolicies
///
/// Builds and executes requests for operations under \admin\realms\{realm}\client-policies\policies
///
- public class PoliciesRequestBuilder : BaseRequestBuilder {
+ public class PoliciesRequestBuilder : BaseRequestBuilder
+ {
///
/// Instantiates a new and sets the default values.
///
/// Path parameters for the request
/// The request adapter to use to execute the requests.
- public PoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies", pathParameters) {
+ public PoliciesRequestBuilder(Dictionary pathParameters, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies", pathParameters)
+ {
}
///
/// Instantiates a new and sets the default values.
///
/// The raw URL to use for the request builder.
/// The request adapter to use to execute the requests.
- public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies", rawUrl) {
+ public PoliciesRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/admin/realms/{realm}/client-policies/policies", rawUrl)
+ {
}
/// A
/// Cancellation token to use when cancelling requests
/// Configuration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task GetAsync(Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
var requestInfo = ToGetRequestInformation(requestConfiguration);
return await RequestAdapter.SendAsync(requestInfo, ClientPoliciesRepresentation.CreateFromDiscriminatorValue, default, cancellationToken).ConfigureAwait(false);
@@ -46,10 +51,12 @@ public async Task GetAsync(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public async Task PutAsync(ClientPoliciesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(ClientPoliciesRepresentation body, Action>? requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#nullable restore
#else
- public async Task PutAsync(ClientPoliciesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default) {
+ public async Task PutAsync(ClientPoliciesRepresentation body, Action> requestConfiguration = default, CancellationToken cancellationToken = default)
+ {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPutRequestInformation(body, requestConfiguration);
@@ -59,10 +66,12 @@ public async Task PutAsync(ClientPoliciesRepresentation body, ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default) {
+ public RequestInformation ToGetRequestInformation(Action> requestConfiguration = default)
+ {
#endif
var requestInfo = new RequestInformation(Method.GET, UrlTemplate, PathParameters);
requestInfo.Configure(requestConfiguration);
@@ -74,10 +83,12 @@ public RequestInformation ToGetRequestInformation(ActionConfiguration for the request such as headers, query parameters, and middleware options.
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
- public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation body, Action>? requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation body, Action>? requestConfiguration = default)
+ {
#nullable restore
#else
- public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation body, Action> requestConfiguration = default) {
+ public RequestInformation ToPutRequestInformation(ClientPoliciesRepresentation body, Action