Class PropertyDefinition
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class PropertyDefinition : IAdditionalDataHolder, IParsable
- Inheritance
-
PropertyDefinition
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
PropertyDefinition()
Instantiates a new PropertyDefinition and sets the default values.
public PropertyDefinition()
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
BuiltIn
A true/false flag to indicate whether this is a pre-defined attribute or not.
public bool? BuiltIn { get; set; }
Property Value
- bool?
Category
The module name: Budget, Contract, PCO, or CostItem, RCO. This is deprecated in favor of associationId and associationType.
public string? Category { get; set; }
Property Value
DefaultValue
Default value of the attribute definition.
public string? DefaultValue { get; set; }
Property Value
DefaultVisibility
A true/false flag to indicate whether this attribute should be shown in the BIM 360 Cost Management or generated documents by default.
public bool? DefaultVisibility { get; set; }
Property Value
- bool?
Id
Unique identifier (UUID) of the attribute definition.
public Guid? Id { get; }
Property Value
- Guid?
Name
Name of a attribute definition.
public string? Name { get; set; }
Property Value
Options
List of items for an options
type attribute.
public UntypedNode? Options { get; set; }
Property Value
- UntypedNode
Position
The position of the attribute definition as displayed in BIM 360 Cost Management.
public double? Position { get; set; }
Property Value
Type
Type of the attribute definition.
public PropertyDefinition_type? Type { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static PropertyDefinition 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