Class ExecuteActionsEmailRequestBuilder
- Assembly
- Keycloak.AuthServices.Sdk.Kiota.dll
Builds and executes requests for operations under \admin\realms{realm}\users{user-id}\execute-actions-email
public class ExecuteActionsEmailRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderExecuteActionsEmailRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
ExecuteActionsEmailRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new ExecuteActionsEmailRequestBuilder and sets the default values.
public ExecuteActionsEmailRequestBuilder(Dictionary<string, object> pathParameters, IRequestAdapter requestAdapter)
Parameters
pathParameters
Dictionary<string, object>Path parameters for the request
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
ExecuteActionsEmailRequestBuilder(string, IRequestAdapter)
Instantiates a new ExecuteActionsEmailRequestBuilder and sets the default values.
public ExecuteActionsEmailRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
Parameters
rawUrl
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
Methods
PutAsync(List<string>, Action<RequestConfiguration<ExecuteActionsEmailRequestBuilderPutQueryParameters>>?, CancellationToken)
An email contains a link the user can click to perform a set of required actions. The redirectUri and clientId parameters are optional. If no redirect is given, then there will be no link back to click after actions have completed. Redirect uri must be a valid uri for the particular clientId.
public Task<Stream?> PutAsync(List<string> body, Action<RequestConfiguration<ExecuteActionsEmailRequestBuilder.ExecuteActionsEmailRequestBuilderPutQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
body
List<string>The request body
requestConfiguration
Action<RequestConfiguration<ExecuteActionsEmailRequestBuilder.ExecuteActionsEmailRequestBuilderPutQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
ToPutRequestInformation(List<string>, Action<RequestConfiguration<ExecuteActionsEmailRequestBuilderPutQueryParameters>>?)
An email contains a link the user can click to perform a set of required actions. The redirectUri and clientId parameters are optional. If no redirect is given, then there will be no link back to click after actions have completed. Redirect uri must be a valid uri for the particular clientId.
public RequestInformation ToPutRequestInformation(List<string> body, Action<RequestConfiguration<ExecuteActionsEmailRequestBuilder.ExecuteActionsEmailRequestBuilderPutQueryParameters>>? requestConfiguration = null)
Parameters
body
List<string>The request body
requestConfiguration
Action<RequestConfiguration<ExecuteActionsEmailRequestBuilder.ExecuteActionsEmailRequestBuilderPutQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
Returns
- RequestInformation
A Microsoft.Kiota.Abstractions.RequestInformation
WithUrl(string)
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.
public ExecuteActionsEmailRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.