Table of Contents

Class SfAssetRelationship

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Asset Relationship

SObject Name: AssetRelationship

Custom Object: False

public class SfAssetRelationship : SObject
Inheritance
SfAssetRelationship
Inherited Members

Properties

Asset

ReferenceTo: Asset

RelationshipName: Asset

[JsonProperty(PropertyName = "asset")]
[Updateable(false)]
[Createable(false)]
public SfAsset Asset { get; set; }

Property Value

SfAsset

AssetId

Asset ID

Name: AssetId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "assetId")]
[Updateable(false)]
[Createable(true)]
public string AssetId { get; set; }

Property Value

string

AssetRelationshipNumber

Asset Relationship Number

Name: AssetRelationshipNumber

SF Type: string

AutoNumber field

Nillable: False

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

Property Value

string

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?

FromDate

From Date

Name: FromDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

Id

Asset Relationship ID

Name: Id

SF Type: id

Nillable: False

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

Property Value

string

IsDeleted

Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

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

Property Value

bool?

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?

LastReferencedDate

Last Referenced Date

Name: LastReferencedDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

LastViewedDate

Last Viewed Date

Name: LastViewedDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

RelatedAsset

ReferenceTo: Asset

RelationshipName: RelatedAsset

[JsonProperty(PropertyName = "relatedAsset")]
[Updateable(false)]
[Createable(false)]
public SfAsset RelatedAsset { get; set; }

Property Value

SfAsset

RelatedAssetId

Asset ID

Name: RelatedAssetId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "relatedAssetId")]
public string RelatedAssetId { get; set; }

Property Value

string

RelationshipType

Relationship Type

Name: RelationshipType

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "relationshipType")]
public string RelationshipType { get; set; }

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

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?

ToDate

To Date

Name: ToDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?