Class CostItem
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class CostItem : IAdditionalDataHolder, IParsable
- Inheritance
-
CostItem
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
CostItem()
Instantiates a new CostItem and sets the default values.
public CostItem()
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
Approved
Amount approved by the owner.
public string? Approved { get; set; }
Property Value
BudgetStatus
The budget status of the cost item. Possible values: draft
, open
, submitted
, accepted
, approved
, executed
, rejected
. Note that you can only change the status by updating the associated change order.
public string? BudgetStatus { get; }
Property Value
Committed
Amount committed to the supplier.
public string? Committed { get; set; }
Property Value
CommittedExchangeRate
Exchange rate for committed amount. Default value is 1
, if multi-currency is not enabled, it will also be 1
.
public string? CommittedExchangeRate { get; set; }
Property Value
CostStatus
The cost status of the cost item. Possible values: draft
, open
, pricing
, proposed
, approved
, executed
, rejected
. Note that you can only change the status of the cost item by updating the associated change order.
public string? CostStatus { get; }
Property Value
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
Description
Detailed description of the cost item.
public string? Description { get; set; }
Property Value
Estimated
Rough estimate of this item without a quotation.
public string? Estimated { get; set; }
Property Value
Id
Unique identifier of the cost item.
public Guid? Id { get; }
Property Value
- Guid?
InputQuantity
The input quantity of the cost item.
public double? InputQuantity { get; set; }
Property Value
IntegrationState
Lock state used by ERP integration, default value is null
.
public CostItem_integrationState? IntegrationState { get; set; }
Property Value
IntegrationStateChangedAt
The date and time last locked this item.
public DateTimeOffset? IntegrationStateChangedAt { get; set; }
Property Value
IntegrationStateChangedBy
The user who last locked this item. This is the ID of a user managed by BIM 360 Admin.
public string? IntegrationStateChangedBy { get; set; }
Property Value
IsMarkup
Used to distinguish whether it is a markup cost item or not. false
is the default value.
public bool? IsMarkup { get; set; }
Property Value
- bool?
LocationPaths
The IDs of the locations have been selected and parents of selected.
public List<Guid?>? LocationPaths { get; set; }
Property Value
Locations
The IDs of the locations have been selected.
public List<Guid?>? Locations { get; set; }
Property Value
Name
Name of the cost item.
public string? Name { get; set; }
Property Value
Note
Note to the cost item. Draftjs formatted rich text (https://draftjs.org/)
public string? Note { get; set; }
Property Value
Number
System generated sequential number.
public string? Number { get; set; }
Property Value
Proposed
Quoted cost of the item.
public string? Proposed { get; set; }
Property Value
ProposedExchangeRate
Exchange rate for proposed amount. Default value is 1
, if multi-currency is not enabled, it will also be 1
.
public string? ProposedExchangeRate { get; set; }
Property Value
Quantity
The quantity of the cost item.
public double? Quantity { get; set; }
Property Value
Scope
The scope of the cost item. Possible values are out
, in
, tbd
, budgetOnly
and contingency
.
public CostItem_scope? Scope { get; }
Property Value
ScopeOfWork
Scope of work of the cost items. Draftjs formatted rich text (https://draftjs.org/)
public string? ScopeOfWork { get; set; }
Property Value
Submitted
Amount sent to the owner for approval.
public string? Submitted { get; set; }
Property Value
Type
The type of the cost item. It is customizable by the project admin.
public string? Type { get; set; }
Property Value
Unit
The unit of the cost item.
public string? Unit { get; set; }
Property Value
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
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static CostItem 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