Table of Contents

Class WithAttrItemRequestBuilder

Namespace
Keycloak.AuthServices.Sdk.Kiota.Admin.Admin.Realms.Item.Clients.Item.Certificates.Item
Assembly
Keycloak.AuthServices.Sdk.Kiota.dll

Builds and executes requests for operations under \admin\realms{realm}\clients{client-uuid}\certificates{attr}

public class WithAttrItemRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
WithAttrItemRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.UrlTemplate

Constructors

WithAttrItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new WithAttrItemRequestBuilder and sets the default values.

public WithAttrItemRequestBuilder(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.

WithAttrItemRequestBuilder(string, IRequestAdapter)

Instantiates a new WithAttrItemRequestBuilder and sets the default values.

public WithAttrItemRequestBuilder(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.

Properties

Download

The download property

public DownloadRequestBuilder Download { get; }

Property Value

DownloadRequestBuilder

Generate

The generate property

public GenerateRequestBuilder Generate { get; }

Property Value

GenerateRequestBuilder

GenerateAndDownload

The generateAndDownload property

public GenerateAndDownloadRequestBuilder GenerateAndDownload { get; }

Property Value

GenerateAndDownloadRequestBuilder

Upload

The upload property

public UploadRequestBuilder Upload { get; }

Property Value

UploadRequestBuilder

UploadCertificate

The uploadCertificate property

public UploadCertificateRequestBuilder UploadCertificate { get; }

Property Value

UploadCertificateRequestBuilder

Methods

GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Get key info

public Task<CertificateRepresentation?> GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

Configuration for the request such as headers, query parameters, and middleware options.

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<CertificateRepresentation>

A CertificateRepresentation

ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Get key info

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<DefaultQueryParameters>>

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 WithAttrItemRequestBuilder WithUrl(string rawUrl)

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

WithAttrItemRequestBuilder

A WithAttrItemRequestBuilder