Table of Contents

Class SfAsyncApexJob

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Apex Job

SObject Name: AsyncApexJob

Custom Object: False

public class SfAsyncApexJob : SObject
Inheritance
SfAsyncApexJob
Inherited Members

Properties

ApexClass

ReferenceTo: ApexClass

RelationshipName: ApexClass

[JsonProperty(PropertyName = "apexClass")]
[Updateable(false)]
[Createable(false)]
public SfApexClass ApexClass { get; set; }

Property Value

SfApexClass

ApexClassId

Class ID

Name: ApexClassId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "apexClassId")]
[Updateable(false)]
[Createable(false)]
public string ApexClassId { get; set; }

Property Value

string

CompletedDate

Completion Date

Name: CompletedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "completedDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CompletedDate { get; set; }

Property Value

DateTimeOffset?

CreatedBy

ReferenceTo: User

RelationshipName: CreatedBy

[JsonProperty(PropertyName = "createdBy")]
[Updateable(false)]
[Createable(false)]
public SfUser CreatedBy { get; set; }

Property Value

SfUser

CreatedById

Created By ID

Name: CreatedById

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "createdById")]
[Updateable(false)]
[Createable(false)]
public string CreatedById { get; set; }

Property Value

string

CreatedDate

Created Date

Name: CreatedDate

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "createdDate")]
[Updateable(false)]
[Createable(false)]
public DateTimeOffset? CreatedDate { get; set; }

Property Value

DateTimeOffset?

CronTrigger

ReferenceTo: CronTrigger

RelationshipName: CronTrigger

[JsonProperty(PropertyName = "cronTrigger")]
[Updateable(false)]
[Createable(false)]
public SfCronTrigger CronTrigger { get; set; }

Property Value

SfCronTrigger

CronTriggerId

Scheduled Job ID

Name: CronTriggerId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "cronTriggerId")]
[Updateable(false)]
[Createable(false)]
public string CronTriggerId { get; set; }

Property Value

string

ExtendedStatus

Status Detail

Name: ExtendedStatus

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "extendedStatus")]
[Updateable(false)]
[Createable(false)]
public string ExtendedStatus { get; set; }

Property Value

string

Id

Apex Job ID

Name: Id

SF Type: id

Nillable: False

[JsonProperty(PropertyName = "id")]
[Updateable(false)]
[Createable(false)]
public string Id { get; set; }

Property Value

string

JobItemsProcessed

Batches Processed

Name: JobItemsProcessed

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "jobItemsProcessed")]
[Updateable(false)]
[Createable(false)]
public int? JobItemsProcessed { get; set; }

Property Value

int?

JobType

Job Type

Name: JobType

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "jobType")]
[Updateable(false)]
[Createable(false)]
public string JobType { get; set; }

Property Value

string

LastProcessed

Last ID processed and committed

Name: LastProcessed

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "lastProcessed")]
[Updateable(false)]
[Createable(false)]
public string LastProcessed { get; set; }

Property Value

string

LastProcessedOffset

Offset of last ID processed and committed

Name: LastProcessedOffset

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "lastProcessedOffset")]
[Updateable(false)]
[Createable(false)]
public int? LastProcessedOffset { get; set; }

Property Value

int?

MethodName

Apex Method

Name: MethodName

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "methodName")]
[Updateable(false)]
[Createable(false)]
public string MethodName { get; set; }

Property Value

string

NumberOfErrors

Failures

Name: NumberOfErrors

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "numberOfErrors")]
[Updateable(false)]
[Createable(false)]
public int? NumberOfErrors { get; set; }

Property Value

int?

ParentJobId

Apex Job ID

Name: ParentJobId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "parentJobId")]
[Updateable(false)]
[Createable(false)]
public string ParentJobId { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

Status

Status

Name: Status

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "status")]
[Updateable(false)]
[Createable(false)]
public string Status { get; set; }

Property Value

string

TotalJobItems

Total Batches

Name: TotalJobItems

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "totalJobItems")]
[Updateable(false)]
[Createable(false)]
public int? TotalJobItems { get; set; }

Property Value

int?