Table of Contents

Class SignedcookiesRequestBuilder

Namespace
Autodesk.ModelDerivative.Designdata.Item.Manifest.Item.Signedcookies
Assembly
Autodesk.ModelDerivative.dll

Builds and executes requests for operations under \designdata{urn}\manifest{derivativeUrn}\signedcookies

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

Constructors

SignedcookiesRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new SignedcookiesRequestBuilder and sets the default values.

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

SignedcookiesRequestBuilder(string, IRequestAdapter)

Instantiates a new SignedcookiesRequestBuilder and sets the default values.

public SignedcookiesRequestBuilder(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

GetAsSignedcookiesGetResponseAsync(Action<RequestConfiguration<SignedcookiesRequestBuilderGetQueryParameters>>?, CancellationToken)

Returns a download URL and a set of signed cookies, which lets you securely download the derivative specified by the derivativeUrn URI parameter. The signed cookies have a lifetime of 6 hours. Although you cannot use range headers for this endpoint, you can use range headers for the returned download URL to download the derivative in chunks, in parallel.

public Task<SignedcookiesGetResponse?> GetAsSignedcookiesGetResponseAsync(Action<RequestConfiguration<SignedcookiesRequestBuilder.SignedcookiesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<SignedcookiesRequestBuilder.SignedcookiesRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<SignedcookiesGetResponse>

A SignedcookiesGetResponse

Exceptions

Signedcookies400Error

When receiving a 400 status code

Signedcookies401Error

When receiving a 401 status code

Signedcookies403Error

When receiving a 403 status code

Signedcookies404Error

When receiving a 404 status code

Signedcookies500Error

When receiving a 500 status code

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

Returns a download URL and a set of signed cookies, which lets you securely download the derivative specified by the derivativeUrn URI parameter. The signed cookies have a lifetime of 6 hours. Although you cannot use range headers for this endpoint, you can use range headers for the returned download URL to download the derivative in chunks, in parallel.

[Obsolete("This method is obsolete. Use GetAsSignedcookiesGetResponseAsync instead.")]
public Task<SignedcookiesResponse?> GetAsync(Action<RequestConfiguration<SignedcookiesRequestBuilder.SignedcookiesRequestBuilderGetQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

requestConfiguration Action<RequestConfiguration<SignedcookiesRequestBuilder.SignedcookiesRequestBuilderGetQueryParameters>>

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

cancellationToken CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<SignedcookiesResponse>

A SignedcookiesResponse

Exceptions

Signedcookies400Error

When receiving a 400 status code

Signedcookies401Error

When receiving a 401 status code

Signedcookies403Error

When receiving a 403 status code

Signedcookies404Error

When receiving a 404 status code

Signedcookies500Error

When receiving a 500 status code

ToGetRequestInformation(Action<RequestConfiguration<SignedcookiesRequestBuilderGetQueryParameters>>?)

Returns a download URL and a set of signed cookies, which lets you securely download the derivative specified by the derivativeUrn URI parameter. The signed cookies have a lifetime of 6 hours. Although you cannot use range headers for this endpoint, you can use range headers for the returned download URL to download the derivative in chunks, in parallel.

public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<SignedcookiesRequestBuilder.SignedcookiesRequestBuilderGetQueryParameters>>? requestConfiguration = null)

Parameters

requestConfiguration Action<RequestConfiguration<SignedcookiesRequestBuilder.SignedcookiesRequestBuilderGetQueryParameters>>

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

SignedcookiesRequestBuilder

A SignedcookiesRequestBuilder