Table of Contents

Class TimeSheetCreate

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

Constructors

TimeSheetCreate()

Instantiates a new TimeSheetCreate and sets the default values.

public TimeSheetCreate()

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>

BudgetCode

The budget code to which the time sheet log belongs. Required if trackingItemInstanceId and trackingItemInstanceNumber are not set.

public string? BudgetCode { get; set; }

Property Value

string

EndDate

The end day of the time sheet log. Behaved as the logged date of the tracked input and output.

public Date? EndDate { get; set; }

Property Value

Date?

InputQuantity

The input quantity of the time sheet log.

public double? InputQuantity { get; set; }

Property Value

double?

OutputQuantity

The output quantity of the time sheet log.

public double? OutputQuantity { get; set; }

Property Value

double?

StartDate

The start day of the time sheet log.

public Date? StartDate { get; set; }

Property Value

Date?

TrackingItemInstanceId

The unique identifier of the tracking item instance to which the time sheet log belongs.

public Guid? TrackingItemInstanceId { get; set; }

Property Value

Guid?

TrackingItemInstanceNumber

The number of the tracking item instance to which the time sheet log belongs. Alternative to trackingItemInstanceId.

public string? TrackingItemInstanceNumber { get; set; }

Property Value

string

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static TimeSheetCreate CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

TimeSheetCreate

A TimeSheetCreate

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