Table of Contents

Class SegmentsRequestBuilder

Namespace
Autodesk.ACC.CostManagement.V1.Projects.Item.Segments
Assembly
Autodesk.ACC.CostManagement.dll

Builds and executes requests for operations under \v1\projects{projectId}\segments

public class SegmentsRequestBuilder : BaseRequestBuilder
Inheritance
BaseRequestBuilder
SegmentsRequestBuilder
Inherited Members
BaseRequestBuilder.PathParameters
BaseRequestBuilder.RequestAdapter
BaseRequestBuilder.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 IRequestAdapter

The 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 string

The raw URL to use for the request builder.

requestAdapter IRequestAdapter

The 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 Guid

The segment ID. To obtain a segment ID, use GET templates/:templateId/segments </en/docs/bim360/v1/reference/http/cost-segments-GET/>_.

Property Value

WithSegmentItemRequestBuilder

A WithSegmentItemRequestBuilder

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 string

The segment ID. To obtain a segment ID, use GET templates/:templateId/segments </en/docs/bim360/v1/reference/http/cost-segments-GET/>_.

Property Value

WithSegmentItemRequestBuilder

A WithSegmentItemRequestBuilder