Table of Contents

Class WithObjectKeyItemRequestBuilder

Namespace
Autodesk.DataManagement.OSS.Oss.V2.Buckets.Item.Objects.Item
Assembly
Autodesk.DataManagement.dll

Builds and executes requests for operations under \oss\v2\buckets{bucketKey}\objects{objectKey}

public class WithObjectKeyItemRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
WithObjectKeyItemRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.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 IRequestAdapter

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

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The request adapter to use to execute the requests.

Properties

Copyto

The copyto property

public CopytoRequestBuilder Copyto { get; }

Property Value

CopytoRequestBuilder

Details

The details property

public DetailsRequestBuilder Details { get; }

Property Value

DetailsRequestBuilder

Signed

The signed property

public SignedRequestBuilder Signed { get; }

Property Value

SignedRequestBuilder

Signeds3download

The signeds3download property

public Signeds3downloadRequestBuilder Signeds3download { get; }

Property Value

Signeds3downloadRequestBuilder

Signeds3upload

The signeds3upload property

public Signeds3uploadRequestBuilder Signeds3upload { get; }

Property Value

Signeds3uploadRequestBuilder

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 CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<Stream>

A Stream

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 string

The raw URL to use for the request builder.

Returns

WithObjectKeyItemRequestBuilder

A WithObjectKeyItemRequestBuilder