Table of Contents

Class Distribution

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

Constructors

Distribution()

Instantiates a new Distribution and sets the default values.

public Distribution()

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>

BudgetId

The ID of budget to distribute.

public Guid? BudgetId { get; set; }

Property Value

Guid?

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

EndDate

The planned end day of distribution.

public Date? EndDate { get; set; }

Property Value

Date?

Id

Unique identifier of the distribution.

public Guid? Id { get; set; }

Property Value

Guid?

Interval

The time period of distribution. Possible values are monthly, weekly, bi-monthly.

public string? Interval { get; set; }

Property Value

string

IsCurrent

Define the latest version if the value is true.

public bool? IsCurrent { get; set; }

Property Value

bool?

StartDate

The planned start day of distribution.

public Date? StartDate { get; set; }

Property Value

Date?

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

Version

Distribution version.

public double? Version { get; set; }

Property Value

double?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static Distribution CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

Distribution

A Distribution

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