Class ProtocolMappersRequestBuilder
- Namespace
- Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.EvaluateScopes.ProtocolMappers
- Assembly
- Keycloak.AuthServices.Sdk.Kiota.dll
Builds and executes requests for operations under \admin\realms{realm}\clients{client-uuid}\evaluate-scopes\protocol-mappers
public class ProtocolMappersRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderProtocolMappersRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
ProtocolMappersRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new ProtocolMappersRequestBuilder and sets the default values.
public ProtocolMappersRequestBuilder(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.
ProtocolMappersRequestBuilder(string, IRequestAdapter)
Instantiates a new ProtocolMappersRequestBuilder and sets the default values.
public ProtocolMappersRequestBuilder(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
GetAsync(Action<RequestConfiguration<ProtocolMappersRequestBuilderGetQueryParameters>>?, CancellationToken)
This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client.
public Task<List<ProtocolMapperEvaluationRepresentation>?> GetAsync(Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
- Task<List<ProtocolMapperEvaluationRepresentation>>
A List<ProtocolMapperEvaluationRepresentation>
ToGetRequestInformation(Action<RequestConfiguration<ProtocolMappersRequestBuilderGetQueryParameters>>?)
This means protocol mappers assigned to this client directly and protocol mappers assigned to all client scopes of this client.
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<ProtocolMappersRequestBuilder.ProtocolMappersRequestBuilderGetQueryParameters>>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 ProtocolMappersRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.