Class WithAttrItemRequestBuilder
- 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
-
BaseRequestBuilderWithAttrItemRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.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
IRequestAdapterThe 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
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe request adapter to use to execute the requests.
Properties
Download
The download property
public DownloadRequestBuilder Download { get; }
Property Value
Generate
The generate property
public GenerateRequestBuilder Generate { get; }
Property Value
GenerateAndDownload
The generateAndDownload property
public GenerateAndDownloadRequestBuilder GenerateAndDownload { get; }
Property Value
Upload
The upload property
public UploadRequestBuilder Upload { get; }
Property Value
UploadCertificate
The uploadCertificate property
public UploadCertificateRequestBuilder UploadCertificate { get; }
Property Value
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
CancellationTokenCancellation token to use when cancelling requests
Returns
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
stringThe raw URL to use for the request builder.