Class ComplianceDefinitionCreate
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class ComplianceDefinitionCreate : IAdditionalDataHolder, IParsable
- Inheritance
-
ComplianceDefinitionCreate
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
ComplianceDefinitionCreate()
Instantiates a new ComplianceDefinitionCreate and sets the default values.
public ComplianceDefinitionCreate()
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
AssociationType
The type of the compliance requirement is associated. Possible values: Contract
,BudgetPayment
, Payment
.
public string? AssociationType { get; set; }
Property Value
Description
The description of a compliance definition.
public string? Description { get; set; }
Property Value
Name
The name of a compliance definition.
public string? Name { get; set; }
Property Value
RequiredWhen
The compliance timing of a compliance definition.When the type
of the requiredWhen is statusMachine
,the actionName
is the associated action.
public ComplianceDefinitionCreate_requiredWhen? RequiredWhen { get; set; }
Property Value
Scope
The scope of a compliance definition.The attribute type
identify the type of which instance should be selected.
public ComplianceDefinitionCreate_scope? Scope { get; set; }
Property Value
Type
The scope of a compliance definition.
public string? Type { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static ComplianceDefinitionCreate 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