Class Item_EscapedRequestBuilder
- Namespace
- Autodesk.DataManagement.Data.V1.Projects.Item.Versions.Item.Item_Escaped
- Assembly
- Autodesk.DataManagement.dll
Builds and executes requests for operations under \data\v1\projects{project_id}\versions{version_id}\item
public class Item_EscapedRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderItem_EscapedRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
Item_EscapedRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new Item_EscapedRequestBuilder and sets the default values.
public Item_EscapedRequestBuilder(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.
Item_EscapedRequestBuilder(string, IRequestAdapter)
Instantiates a new Item_EscapedRequestBuilder and sets the default values.
public Item_EscapedRequestBuilder(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
GetAsync(Action<RequestConfiguration<DefaultQueryParameters>>?, CancellationToken)
Returns the item the given version is associated with.New! Autodesk Construction Cloud platform (ACC). Note that this endpoint is compatible with ACC projects. For more information about the Autodesk Construction Cloud APIs, see the Autodesk Construction Cloud documentation.
public Task<Item?> 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
CancellationTokenCancellation token to use when cancelling requests
Returns
Exceptions
- Item400Error
When receiving a 400 status code
- Item403Error
When receiving a 403 status code
- Item404Error
When receiving a 404 status code
ToGetRequestInformation(Action<RequestConfiguration<DefaultQueryParameters>>?)
Returns the item the given version is associated with.New! Autodesk Construction Cloud platform (ACC). Note that this endpoint is compatible with ACC projects. For more information about the Autodesk Construction Cloud APIs, see the Autodesk Construction Cloud documentation.
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 Item_EscapedRequestBuilder WithUrl(string rawUrl)
Parameters
rawUrl
stringThe raw URL to use for the request builder.