Table of Contents

Class Milestone

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class Milestone : IAdditionalDataHolder, IParsable
Inheritance
Milestone
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

Milestone()

Instantiates a new Milestone and sets the default values.

public Milestone()

Properties

ActivityId

The ID of the schedule activity from Autodesk Build.

public string? ActivityId { get; set; }

Property Value

string

ActualEndDate

The planned start day of the item.

public Date? ActualEndDate { get; set; }

Property Value

Date?

ActualStartDate

The actual start day of the item.

public Date? ActualStartDate { get; set; }

Property Value

Date?

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>

Color

The timeline color in gantt chart for project milestone.

public string? Color { get; set; }

Property Value

string

CreatedAt

The timestamp of the date and time the item was created, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? CreatedAt { get; }

Property Value

DateTimeOffset?

CreatorId

The user who created the project milestone. This is the ID of a user managed by BIM 360 Admin.

public string? CreatorId { get; }

Property Value

string

DurationDays

The duration days of the item.

public double? DurationDays { get; set; }

Property Value

double?

Id

Unique identifier of the milestone.

public Guid? Id { get; set; }

Property Value

Guid?

Name

The name of the project milestone.

public string? Name { get; set; }

Property Value

string

ParentId

The ID of the parent milestone.

public string? ParentId { get; set; }

Property Value

string

PlannedEndDate

The planned end day of the item.

public Date? PlannedEndDate { get; set; }

Property Value

Date?

PlannedStartDate

The planned start day of the item.

public Date? PlannedStartDate { get; set; }

Property Value

Date?

ScheduleId

The ID of the schedule from Autodesk Build.

public string? ScheduleId { get; set; }

Property Value

string

Sequence

The sequence of the project milestone.

public double? Sequence { get; set; }

Property Value

double?

Type

The ID of the schedule from Autodesk Build Schedule. Possible values: Milestone', ActivityandSummary`.

public string? Type { get; set; }

Property Value

string

UpdatedAt

The timestamp of the date and time the item was updated, in the following format: YYYY-MM-DDThh:mm:ss.sz.

public DateTimeOffset? UpdatedAt { get; }

Property Value

DateTimeOffset?

UpdatedBy

The user who last update the project milestone. This is the ID of a user managed by BIM 360 Admin.

public string? UpdatedBy { get; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static Milestone CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

Milestone

A Milestone

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