Table of Contents

Class SfApexTestRunResult

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Apex Test Run Result

SObject Name: ApexTestRunResult

Custom Object: False

public class SfApexTestRunResult : SObject
Inheritance
SfApexTestRunResult
Inherited Members

Properties

AsyncApexJob

ReferenceTo: AsyncApexJob

RelationshipName: AsyncApexJob

[JsonProperty(PropertyName = "asyncApexJob")]
[Updateable(false)]
[Createable(false)]
public SfAsyncApexJob AsyncApexJob { get; set; }

Property Value

SfAsyncApexJob

AsyncApexJobId

Apex Job ID

Name: AsyncApexJobId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "asyncApexJobId")]
public string AsyncApexJobId { get; set; }

Property Value

string

ClassesCompleted

Number of classes completed in this test run

Name: ClassesCompleted

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "classesCompleted")]
public int? ClassesCompleted { get; set; }

Property Value

int?

ClassesEnqueued

Number of classes enqueued in this test run

Name: ClassesEnqueued

SF Type: int

Nillable: False

[JsonProperty(PropertyName = "classesEnqueued")]
public int? ClassesEnqueued { get; set; }

Property Value

int?

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?

EndTime

End time of the test run

Name: EndTime

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "endTime")]
public DateTimeOffset? EndTime { get; set; }

Property Value

DateTimeOffset?

Id

ApexTestRunResult ID

Name: Id

SF Type: id

Nillable: False

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

Property Value

string

IsAllTests

allTests

Name: IsAllTests

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isAllTests")]
public bool? IsAllTests { get; set; }

Property Value

bool?

IsDeleted

Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isDeleted")]
[Updateable(false)]
[Createable(false)]
public bool? IsDeleted { get; set; }

Property Value

bool?

JobName

Name of the job

Name: JobName

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "jobName")]
public string JobName { get; set; }

Property Value

string

LastModifiedBy

ReferenceTo: User

RelationshipName: LastModifiedBy

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

Property Value

SfUser

LastModifiedById

Last Modified By ID

Name: LastModifiedById

SF Type: reference

Nillable: False

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

Property Value

string

LastModifiedDate

Last Modified Date

Name: LastModifiedDate

SF Type: datetime

Nillable: False

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

Property Value

DateTimeOffset?

MethodsCompleted

Number of methods completed in this test run

Name: MethodsCompleted

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "methodsCompleted")]
public int? MethodsCompleted { get; set; }

Property Value

int?

MethodsEnqueued

Number of methods enqueued in this test run

Name: MethodsEnqueued

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "methodsEnqueued")]
public int? MethodsEnqueued { get; set; }

Property Value

int?

MethodsFailed

Number of methods failed in this test run

Name: MethodsFailed

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "methodsFailed")]
public int? MethodsFailed { get; set; }

Property Value

int?

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

Source

Client that kicked off the test run

Name: Source

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "source")]
public string Source { get; set; }

Property Value

string

StartTime

Start time of the test run

Name: StartTime

SF Type: datetime

Nillable: False

[JsonProperty(PropertyName = "startTime")]
public DateTimeOffset? StartTime { get; set; }

Property Value

DateTimeOffset?

Status

Status of the test run

Name: Status

SF Type: picklist

Nillable: False

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

Property Value

string

SystemModstamp

System Modstamp

Name: SystemModstamp

SF Type: datetime

Nillable: False

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

Property Value

DateTimeOffset?

TestSetupTime

Time(ms) spent running test setup

Name: TestSetupTime

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "testSetupTime")]
public int? TestSetupTime { get; set; }

Property Value

int?

TestTime

Time(ms) actually spent running tests

Name: TestTime

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "testTime")]
public int? TestTime { get; set; }

Property Value

int?

User

ReferenceTo: User

RelationshipName: User

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

Property Value

SfUser

UserId

User ID

Name: UserId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "userId")]
public string UserId { get; set; }

Property Value

string