Table of Contents

Class Job

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

IDictionary<string, object>

CompletedAt

The date and time the job completed execution (ISO 8601)

public DateTimeOffset? CompletedAt { get; set; }

Property Value

DateTimeOffset?

CompletionStatus

The completion status of the job (only set when status is complete)

public Job_completionStatus? CompletionStatus { get; set; }

Property Value

Job_completionStatus?

CreatedAt

The date and time the job was created (ISO 8601)

public DateTimeOffset? CreatedAt { get; set; }

Property Value

DateTimeOffset?

CreatedBy

The BIM 360 / ACC user ID of the user who created the data request

public string? CreatedBy { get; set; }

Property Value

string

CreatedByEmail

The email address of the user who created the data request

public string? CreatedByEmail { get; set; }

Property Value

string

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

DateTimeOffset?

Status

The current status of the job

public Job_status? Status { get; set; }

Property Value

Job_status?

Methods

CreateFromDiscriminatorValue(IParseNode)

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

public static Job CreateFromDiscriminatorValue(IParseNode parseNode)

Parameters

parseNode IParseNode

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

Returns

Job

A Job

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