Class SegmentsRequestBuilder
- Assembly
- Autodesk.ACC.CostManagement.dll
Builds and executes requests for operations under \v1\projects{projectId}\segments
public class SegmentsRequestBuilder : BaseRequestBuilder
- Inheritance
-
BaseRequestBuilderSegmentsRequestBuilder
- Inherited Members
-
BaseRequestBuilder.PathParametersBaseRequestBuilder.RequestAdapterBaseRequestBuilder.UrlTemplate
Constructors
SegmentsRequestBuilder(Dictionary<string, object>, IRequestAdapter)
Instantiates a new SegmentsRequestBuilder and sets the default values.
public SegmentsRequestBuilder(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.
SegmentsRequestBuilder(string, IRequestAdapter)
Instantiates a new SegmentsRequestBuilder and sets the default values.
public SegmentsRequestBuilder(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.
Properties
this[Guid]
Gets an item from the Autodesk.ACC.CostManagement.v1.projects.item.segments.item collection
public WithSegmentItemRequestBuilder this[Guid position] { get; }
Parameters
position
GuidThe segment ID. To obtain a segment ID, use
GET templates/:templateId/segments </en/docs/bim360/v1/reference/http/cost-segments-GET/>
_.
Property Value
this[string]
Gets an item from the Autodesk.ACC.CostManagement.v1.projects.item.segments.item collection
[Obsolete("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.")]
public WithSegmentItemRequestBuilder this[string position] { get; }
Parameters
position
stringThe segment ID. To obtain a segment ID, use
GET templates/:templateId/segments </en/docs/bim360/v1/reference/http/cost-segments-GET/>
_.