Class DiffsBatchStatusRequestBuilder
- Namespace
- Autodesk.ACC.ModelProperties.V2.Projects.Item.DiffsBatchStatus
- Assembly
- Autodesk.ACC.ModelProperties.dll
Builds and executes requests for operations under \v2\projects{projectId}\diffs:batch-status
public class DiffsBatchStatusRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderDiffsBatchStatusRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
DiffsBatchStatusRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new DiffsBatchStatusRequestBuilder and sets the default values.
public DiffsBatchStatusRequestBuilder(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.
DiffsBatchStatusRequestBuilder(string, IRequestAdapter)
Instantiates a new DiffsBatchStatusRequestBuilder and sets the default values.
public DiffsBatchStatusRequestBuilder(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(UntypedNode, Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Retrieve the job status for several jobs in a single request.## Index contentsClients should set contents.visibleItemsOnly: true
when possible.This results in a smaller Index and improved Query performance.If a client does not need to query or display Custom Properties, settingcontents.includeCustomProperties: false
(or simply omitting that field)results in better Index and Query performance.
public Task<DiffJobStatusBatch?> PostAsync(UntypedNode body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null, CancellationToken cancellationToken = default)
Parameters
body
UntypedNodeThe 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
Exceptions
- ResourceError
When receiving a 401 status code
ToPostRequestInformation(UntypedNode, Action<RequestConfiguration<DefaultQueryParameters>>?)
Retrieve the job status for several jobs in a single request.## Index contentsClients should set contents.visibleItemsOnly: true
when possible.This results in a smaller Index and improved Query performance.If a client does not need to query or display Custom Properties, settingcontents.includeCustomProperties: false
(or simply omitting that field)results in better Index and Query performance.
public RequestInformation ToPostRequestInformation(UntypedNode body, Action<RequestConfiguration<DefaultQueryParameters>>? requestConfiguration = null)
Parameters
body
UntypedNodeThe 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 DiffsBatchStatusRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.