Table of Contents

Class ComplianceDefinitionCreate

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class ComplianceDefinitionCreate : IAdditionalDataHolder, IParsable
Inheritance
ComplianceDefinitionCreate
Implements
IAdditionalDataHolder
IParsable
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

IDictionary<string, object>

AssociationType

The type of the compliance requirement is associated. Possible values: Contract,BudgetPayment, Payment.

public string? AssociationType { get; set; }

Property Value

string

Description

The description of a compliance definition.

public string? Description { get; set; }

Property Value

string

Name

The name of a compliance definition.

public string? Name { get; set; }

Property Value

string

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

ComplianceDefinitionCreate_requiredWhen

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

ComplianceDefinitionCreate_scope

Type

The scope of a compliance definition.

public string? Type { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

Creates a new instance of the appropriate class based on discriminator value

public static ComplianceDefinitionCreate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

The parse node to use to read the discriminator value and create the object

Returns

ComplianceDefinitionCreate

A ComplianceDefinitionCreate

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 ISerializationWriter

Serialization writer to use to serialize this model