Class WithObjectKeyItemRequestBuilder
- Assembly
- Autodesk.DataManagement.dll
Builds and executes requests for operations under \oss\v2\buckets{bucketKey}\objects{objectKey}
public class WithObjectKeyItemRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderWithObjectKeyItemRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
WithObjectKeyItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new WithObjectKeyItemRequestBuilder and sets the default values.
public WithObjectKeyItemRequestBuilder(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.
WithObjectKeyItemRequestBuilder(string, IRequestAdapter)
Instantiates a new WithObjectKeyItemRequestBuilder and sets the default values.
public WithObjectKeyItemRequestBuilder(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
Copyto
The copyto property
public CopytoRequestBuilder Copyto { get; }
Property Value
Details
The details property
public DetailsRequestBuilder Details { get; }
Property Value
Signed
The signed property
public SignedRequestBuilder Signed { get; }
Property Value
Signeds3download
The signeds3download property
public Signeds3downloadRequestBuilder Signeds3download { get; }
Property Value
Signeds3upload
The signeds3upload property
public Signeds3uploadRequestBuilder Signeds3upload { get; }
Property Value
Methods
DeleteAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Deletes an object from the bucket.
public Task<Stream?> DeleteAsync(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
ToDeleteRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Deletes an object from the bucket.
public RequestInformation ToDeleteRequestInformation(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 WithObjectKeyItemRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.