Table of Contents

Class ManifestRequestBuilder

Namespace
Autodesk.ACC.ModelProperties.V2.Projects.Item.Indexes.Item.Manifest
Assembly
Autodesk.ACC.ModelProperties.dll

Builds and executes requests for operations under \v2\projects{projectId}\indexes{indexId}\manifest

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

Constructors

ManifestRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new ManifestRequestBuilder and sets the default values.

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

ManifestRequestBuilder(string, IRequestAdapter)

Instantiates a new ManifestRequestBuilder and sets the default values.

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

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

Retrieve a specific manifest associated with a properties index.Since the manifest - once created - is immutable the response will set a long expiration HTTP headerfor efficient client side caching.

public Task<IndexManifestDef?> 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 CancellationToken

Cancellation token to use when cancelling requests

Returns

Task<IndexManifestDef>

A IndexManifestDef

Exceptions

ResourceError

When receiving a 401 status code

ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)

Retrieve a specific manifest associated with a properties index.Since the manifest - once created - is immutable the response will set a long expiration HTTP headerfor efficient client side caching.

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

ManifestRequestBuilder

A ManifestRequestBuilder