Table of Contents

Class SubComponentTypesRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Components.Item.SubComponentTypes
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
BaseRequestBuilder
SubComponentTypesRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.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 IRequestAdapter

The 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 string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The 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 CancellationToken

Cancellation 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 string

The raw URL to use for the request builder.

Returns

SubComponentTypesRequestBuilder

A SubComponentTypesRequestBuilder