Class TimeSheetCreate
- Namespace
- Autodesk.ACC.CostManagement.Models
- Assembly
- Autodesk.ACC.CostManagement.dll
public class TimeSheetCreate : IAdditionalDataHolder, IParsable
- Inheritance
-
TimeSheetCreate
- Implements
-
IAdditionalDataHolderIParsable
- 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
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
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
OutputQuantity
The output quantity of the time sheet log.
public double? OutputQuantity { get; set; }
Property Value
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
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static TimeSheetCreate 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