Table of Contents

Class SegmentUpdate

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll

The segment composing the budget code. For example, Job Number, CSI, Cost Type.

public class SegmentUpdate : IAdditionalDataHolder, IParsable
Inheritance
SegmentUpdate
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

SegmentUpdate()

Instantiates a new SegmentUpdate and sets the default values.

public SegmentUpdate()

Properties

AdditionalData

Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.

public IDictionary<string, object> AdditionalData { get; set; }

Property Value

IDictionary<string, object>

Delimiter

The delimiter that follows the segment. Possible values are: none, space, point, hyphen, underscore, tab.

public string? Delimiter { get; set; }

Property Value

string

IsLocked

The lock status of segment.

public bool? IsLocked { get; set; }

Property Value

bool?

Length

The number of characters allowed in the segment.

public double? Length { get; set; }

Property Value

double?

Name

The name of the segment in budget code template.

public string? Name { get; set; }

Property Value

string

SampleCode

A code sample for the segment used to demonstrate how the segment looks when displayed.

public string? SampleCode { get; set; }

Property Value

string

Type

The segment type. Possible values: code, column, or info. Code segments are displayed as part of the budget code. Column segments are displayed in a separate column. Info segments are not displayed.

public string? Type { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static SegmentUpdate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

SegmentUpdate

A SegmentUpdate

GetFieldDeserializers()

The deserialization information for the current model

public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()

Returns

IDictionary<string, Action<IParseNode>>

A IDictionary<string, Action<IParseNode>>

Serialize(ISerializationWriter)

Serializes information the current object

public virtual void Serialize(ISerializationWriter writer)

Parameters

writer ISerializationWriter

Serialization writer to use to serialize this model