Table of Contents

Class SfAsset

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Asset

SObject Name: Asset

Custom Object: False

public class SfAsset : SObject
Inheritance
SfAsset
Inherited Members

Properties

Account

ReferenceTo: Account

RelationshipName: Account

[JsonProperty(PropertyName = "account")]
[Updateable(false)]
[Createable(false)]
public SfAccount Account { get; set; }

Property Value

SfAccount

AccountId

Account ID

Name: AccountId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "accountId")]
public string AccountId { get; set; }

Property Value

string

Address

Address

Name: Address

SF Type: address

Nillable: True

[JsonProperty(PropertyName = "address")]
[Updateable(false)]
[Createable(false)]
public Address Address { get; set; }

Property Value

Address

AssetLevel

Asset Level

Name: AssetLevel

SF Type: int

Nillable: True

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

Property Value

int?

AssetProvidedBy

ReferenceTo: Account

RelationshipName: AssetProvidedBy

[JsonProperty(PropertyName = "assetProvidedBy")]
[Updateable(false)]
[Createable(false)]
public SfAccount AssetProvidedBy { get; set; }

Property Value

SfAccount

AssetProvidedById

Asset Provided By ID

Name: AssetProvidedById

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "assetProvidedById")]
public string AssetProvidedById { get; set; }

Property Value

string

AssetServicedBy

ReferenceTo: Account

RelationshipName: AssetServicedBy

[JsonProperty(PropertyName = "assetServicedBy")]
[Updateable(false)]
[Createable(false)]
public SfAccount AssetServicedBy { get; set; }

Property Value

SfAccount

AssetServicedById

Asset Serviced By ID

Name: AssetServicedById

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "assetServicedById")]
public string AssetServicedById { get; set; }

Property Value

string

City

City

Name: City

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "city")]
public string City { get; set; }

Property Value

string

Contact

ReferenceTo: Contact

RelationshipName: Contact

[JsonProperty(PropertyName = "contact")]
[Updateable(false)]
[Createable(false)]
public SfContact Contact { get; set; }

Property Value

SfContact

ContactId

Contact ID

Name: ContactId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "contactId")]
public string ContactId { get; set; }

Property Value

string

Country

Country

Name: Country

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "country")]
public string Country { 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?

CurrentAmount

Current Amount

Name: CurrentAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "currentAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? CurrentAmount { get; set; }

Property Value

decimal?

CurrentLifecycleEndDate

Current Lifecycle End Date

Name: CurrentLifecycleEndDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

CurrentMrr

Current Monthly Recurring Revenue

Name: CurrentMrr

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "currentMrr")]
[Updateable(false)]
[Createable(false)]
public decimal? CurrentMrr { get; set; }

Property Value

decimal?

CurrentQuantity

Current Quantity

Name: CurrentQuantity

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "currentQuantity")]
[Updateable(false)]
[Createable(false)]
public double? CurrentQuantity { get; set; }

Property Value

double?

Description

Description

Name: Description

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "description")]
public string Description { get; set; }

Property Value

string

GeocodeAccuracy

Geocode Accuracy

Name: GeocodeAccuracy

SF Type: picklist

Nillable: True

[JsonProperty(PropertyName = "geocodeAccuracy")]
public string GeocodeAccuracy { get; set; }

Property Value

string

HasLifecycleManagement

Lifecycle-managed asset

Name: HasLifecycleManagement

SF Type: boolean

Nillable: False

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

Property Value

bool?

Id

Asset ID

Name: Id

SF Type: id

Nillable: False

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

Property Value

string

InstallDate

Install Date

Name: InstallDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "installDate")]
public DateTime? InstallDate { get; set; }

Property Value

DateTime?

IsCompetitorProduct

Competitor Asset

Name: IsCompetitorProduct

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isCompetitorProduct")]
public bool? IsCompetitorProduct { 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?

IsInternal

Internal Asset

Name: IsInternal

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isInternal")]
public bool? IsInternal { 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?

Latitude

Latitude

Name: Latitude

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "latitude")]
public double? Latitude { get; set; }

Property Value

double?

LifecycleEndDate

Lifecycle End Date

Name: LifecycleEndDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

LifecycleStartDate

Lifecycle Start Date

Name: LifecycleStartDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

Longitude

Longitude

Name: Longitude

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "longitude")]
public double? Longitude { get; set; }

Property Value

double?

Name

Asset Name

Name: Name

SF Type: string

Nillable: False

[JsonProperty(PropertyName = "name")]
public string Name { get; set; }

Property Value

string

Owner

ReferenceTo: User

RelationshipName: Owner

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

Property Value

SfUser

OwnerId

Owner ID

Name: OwnerId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "ownerId")]
public string OwnerId { get; set; }

Property Value

string

Parent

ReferenceTo: Asset

RelationshipName: Parent

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

Property Value

SfAsset

ParentId

Parent Asset ID

Name: ParentId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "parentId")]
public string ParentId { get; set; }

Property Value

string

PostalCode

Postal Code

Name: PostalCode

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "postalCode")]
public string PostalCode { get; set; }

Property Value

string

Price

Price

Name: Price

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "price")]
public decimal? Price { get; set; }

Property Value

decimal?

Product2

ReferenceTo: Product2

RelationshipName: Product2

[JsonProperty(PropertyName = "product2")]
[Updateable(false)]
[Createable(false)]
public SfProduct2 Product2 { get; set; }

Property Value

SfProduct2

Product2Id

Product ID

Name: Product2Id

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "product2Id")]
public string Product2Id { get; set; }

Property Value

string

ProductCode

Product Code

Name: ProductCode

SF Type: string

Nillable: True

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

Property Value

string

PurchaseDate

Purchase Date

Name: PurchaseDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "purchaseDate")]
public DateTime? PurchaseDate { get; set; }

Property Value

DateTime?

Quantity

Quantity

Name: Quantity

SF Type: double

Nillable: True

[JsonProperty(PropertyName = "quantity")]
public double? Quantity { get; set; }

Property Value

double?

RootAsset

ReferenceTo: Asset

RelationshipName: RootAsset

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

Property Value

SfAsset

RootAssetId

Root Asset ID

Name: RootAssetId

SF Type: reference

Nillable: True

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

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

SerialNumber

Serial Number

Name: SerialNumber

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "serialNumber")]
public string SerialNumber { get; set; }

Property Value

string

State

State

Name: State

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "state")]
public string State { get; set; }

Property Value

string

Status

Status

Name: Status

SF Type: picklist

Nillable: True

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

Property Value

string

StockKeepingUnit

Product SKU

Name: StockKeepingUnit

SF Type: string

Nillable: True

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

Property Value

string

Street

Street

Name: Street

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "street")]
public string Street { 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?

TotalLifecycleAmount

Total Lifecycle Amount

Name: TotalLifecycleAmount

SF Type: currency

Nillable: True

[JsonProperty(PropertyName = "totalLifecycleAmount")]
[Updateable(false)]
[Createable(false)]
public decimal? TotalLifecycleAmount { get; set; }

Property Value

decimal?

UsageEndDate

Usage End Date

Name: UsageEndDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "usageEndDate")]
public DateTime? UsageEndDate { get; set; }

Property Value

DateTime?