Table of Contents

Class WorkflowAction

Namespace
Autodesk.ACC.CostManagement.Models
Assembly
Autodesk.ACC.CostManagement.dll
public class WorkflowAction : IAdditionalDataHolder, IParsable
Inheritance
WorkflowAction
Implements
IAdditionalDataHolder
IParsable
Inherited Members

Constructors

WorkflowAction()

Instantiates a new WorkflowAction and sets the default values.

public WorkflowAction()

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>

Name

The name of the action that you can perform on the item.

public string? Name { get; set; }

Property Value

string

Rules

The list of conditions that are required in order to be able to perform the action. For example, you can only open a PCO's budgetStatus and costStatus when they are in a draft state.

public List<WorkflowAction_rules>? Rules { get; set; }

Property Value

List<WorkflowAction_rules>

Transforms

The list of changes that you can perform on the associated item.

public List<WorkflowAction_transforms>? Transforms { get; set; }

Property Value

List<WorkflowAction_transforms>

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static WorkflowAction CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

WorkflowAction

A WorkflowAction

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