Class SubComponentTypesRequestBuilder
- Assembly
- Keycloak.AuthServices.Sdk.Kiota.dll
Builds and executes requests for operations under \admin\realms{realm}\components{id}\sub-component-types
public class SubComponentTypesRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderSubComponentTypesRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
SubComponentTypesRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new SubComponentTypesRequestBuilder and sets the default values.
public SubComponentTypesRequestBuilder(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.
SubComponentTypesRequestBuilder(string, IRequestAdapter)
Instantiates a new SubComponentTypesRequestBuilder and sets the default values.
public SubComponentTypesRequestBuilder(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<SubComponentTypesRequestBuilderGetQueryParameters>>?, CancellationToken)
List of subcomponent types that are available to configure for a particular parent component.
public Task<List<ComponentTypeRepresentation>?> GetAsync(Action<RequestConfiguration<SubComponentTypesRequestBuilder.SubComponentTypesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
requestConfiguration
Action<RequestConfiguration<SubComponentTypesRequestBuilder.SubComponentTypesRequestBuilderGetQueryParameters>>Configuration for the request such as headers, query parameters, and middleware options.
cancellationToken
CancellationTokenCancellation token to use when cancelling requests
Returns
- Task<List<ComponentTypeRepresentation>>
A List<ComponentTypeRepresentation>
ToGetRequestInformation(Action<RequestConfiguration<SubComponentTypesRequestBuilderGetQueryParameters>>?)
List of subcomponent types that are available to configure for a particular parent component.
public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<SubComponentTypesRequestBuilder.SubComponentTypesRequestBuilderGetQueryParameters>>? requestConfiguration = null)
Parameters
requestConfiguration
Action<RequestConfiguration<SubComponentTypesRequestBuilder.SubComponentTypesRequestBuilderGetQueryParameters>>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 SubComponentTypesRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.