Table of Contents

Class CustomAttributesBatchUpdateRequestBuilder

Namespace
Autodesk.ACC.FileManagement.Projects.Item.Versions.Item.CustomAttributesBatchUpdate
Assembly
Autodesk.ACC.FileManagement.dll

Builds and executes requests for operations under \projects{project-id}\versions{version_id}\custom-attributes:batch-update

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

Constructors

CustomAttributesBatchUpdateRequestBuilder(Dictionary<string, object>, IRequestAdapter)

Instantiates a new CustomAttributesBatchUpdateRequestBuilder and sets the default values.

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

CustomAttributesBatchUpdateRequestBuilder(string, IRequestAdapter)

Instantiates a new CustomAttributesBatchUpdateRequestBuilder and sets the default values.

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

PostAsync(List<CustomAttributesBatchUpdate>, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)

Batch update version custom attributes

public Task<AttributeUpdated?> PostAsync(List<CustomAttributesBatchUpdate> body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)

Parameters

body List<CustomAttributesBatchUpdate>

The request body

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<AttributeUpdated>

A AttributeUpdated

ToPostRequestInformation(List<CustomAttributesBatchUpdate>, Action<RequestConfiguration<DefaultQueryParameters>>?)

Batch update version custom attributes

public RequestInformation ToPostRequestInformation(List<CustomAttributesBatchUpdate> body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)

Parameters

body List<CustomAttributesBatchUpdate>

The request body

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

Parameters

rawUrl string

The raw URL to use for the request builder.

Returns

CustomAttributesBatchUpdateRequestBuilder

A CustomAttributesBatchUpdateRequestBuilder