Class Distribution
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class Distribution : IAdditionalDataHolder, IParsable
- Inheritance
-
Distribution
- Implements
-
IAdditionalDataHolderIParsable
- 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
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
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
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
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
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
Version
Distribution version.
public double? Version { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static Distribution CreateFromDiscriminatorValue(IParseNode parseNode)
Parameters
parseNode
IParseNodeThe parse node to use to read the discriminator value and create the object
Returns
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
ISerializationWriterSerialization writer to use to serialize this model