Class WithDerivativeUrnItemRequestBuilder
- Namespace
- Autodesk.ModelDerivative.Designdata.Item.Manifest.Item
- Assembly
- Autodesk.ModelDerivative.dll
Builds and executes requests for operations under \designdata{urn}\manifest{derivativeUrn}
public class WithDerivativeUrnItemRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderWithDerivativeUrnItemRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
WithDerivativeUrnItemRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new WithDerivativeUrnItemRequestBuilder and sets the default values.
public WithDerivativeUrnItemRequestBuilder(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.
WithDerivativeUrnItemRequestBuilder(string, IRequestAdapter)
Instantiates a new WithDerivativeUrnItemRequestBuilder and sets the default values.
public WithDerivativeUrnItemRequestBuilder(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
Signedcookies
The signedcookies property
public SignedcookiesRequestBuilder Signedcookies { get; }
Property Value
Methods
HeadAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Returns information about the specified derivative.This endpoint returns a set of headers similar to that returned by the Get Derivative endpoint.You can use this endpoint to determine the total content length of a derivative before you download it using the Get Derivative endpoint. If the derivative is large, you can choose to download the derivative in chunks, by specifying a chunk size using the Range header parameter.
public Task HeadAsync(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
Exceptions
- WithDerivativeUrn400Error
When receiving a 400 status code
- WithDerivativeUrn401Error
When receiving a 401 status code
- WithDerivativeUrn403Error
When receiving a 403 status code
- WithDerivativeUrn404Error
When receiving a 404 status code
- WithDerivativeUrn500Error
When receiving a 500 status code
ToHeadRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Returns information about the specified derivative.This endpoint returns a set of headers similar to that returned by the Get Derivative endpoint.You can use this endpoint to determine the total content length of a derivative before you download it using the Get Derivative endpoint. If the derivative is large, you can choose to download the derivative in chunks, by specifying a chunk size using the Range header parameter.
public RequestInformation ToHeadRequestInformation(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 WithDerivativeUrnItemRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.