Class BudgetSimple
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class BudgetSimple : IAdditionalDataHolder, IParsable
- Inheritance
-
BudgetSimple
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
BudgetSimple()
Instantiates a new BudgetSimple and sets the default values.
public BudgetSimple()
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
Code
Unique code compliant with the budget code template defined by the project admin.
public string? Code { get; set; }
Property Value
Description
The detail description of the budget.
public string? Description { get; set; }
Property Value
Id
Unique identifier of the budget.
public Guid? Id { get; }
Property Value
- Guid?
MainContractId
ID of the Main Contract to which the budget belongs.
public Guid? MainContractId { get; }
Property Value
- Guid?
MainContractItemId
The id of the main contract item
public Guid? MainContractItemId { get; }
Property Value
- Guid?
Name
The name of the budget.
public string? Name { get; set; }
Property Value
ParentId
ID of a parent budget, null
for root budgets.
public string? ParentId { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static BudgetSimple 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