Class CustomAttributesBatchUpdateRequestBuilder
- 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
-
BaseRequestBuilderCustomAttributesBatchUpdateRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.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
IRequestAdapterThe 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
stringThe raw URL to use for the request builder.
requestAdapter
IRequestAdapterThe 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
CancellationTokenCancellation token to use when cancelling requests
Returns
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
stringThe raw URL to use for the request builder.