Class Job
- Namespace
- Autodesk.ACC.DataConnector.Models
- Assembly
- Autodesk.ACC.DataConnector.dll
public class Job : IAdditionalDataHolder, IParsable
- Inheritance
-
Job
- Implements
-
IAdditionalDataHolderIParsable
- Inherited Members
Constructors
Job()
Instantiates a new Job and sets the default values.
public Job()
Properties
AccountId
The account ID
public Guid? AccountId { get; set; }
Property Value
- Guid?
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
CompletedAt
The date and time the job completed execution (ISO 8601)
public DateTimeOffset? CompletedAt { get; set; }
Property Value
CompletionStatus
The completion status of the job (only set when status is complete)
public Job_completionStatus? CompletionStatus { get; set; }
Property Value
CreatedAt
The date and time the job was created (ISO 8601)
public DateTimeOffset? CreatedAt { get; set; }
Property Value
CreatedBy
The BIM 360 / ACC user ID of the user who created the data request
public string? CreatedBy { get; set; }
Property Value
CreatedByEmail
The email address of the user who created the data request
public string? CreatedByEmail { get; set; }
Property Value
Id
The ID of the job
public Guid? Id { get; set; }
Property Value
- Guid?
ProjectId
The project ID (if applicable)
public Guid? ProjectId { get; set; }
Property Value
- Guid?
RequestId
The ID of the data request that spawned this job
public Guid? RequestId { get; set; }
Property Value
- Guid?
StartedAt
The date and time the job started execution (ISO 8601)
public DateTimeOffset? StartedAt { get; set; }
Property Value
Status
The current status of the job
public Job_status? Status { get; set; }
Property Value
Methods
CreateFromDiscriminatorValue(IParseNode)
Creates a new instance of the appropriate class based on discriminator value
public static Job 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