Table of Contents

Class SfContentDistribution

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Content Delivery

SObject Name: ContentDistribution

Custom Object: False

public class SfContentDistribution : SObject
Inheritance
SfContentDistribution
Inherited Members

Properties

ContentDocumentId

ContentDocument ID

Name: ContentDocumentId

SF Type: reference

Nillable: True

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

Property Value

string

ContentDownloadUrl

File Download Link

Name: ContentDownloadUrl

SF Type: string

Nillable: True

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

Property Value

string

ContentVersion

ReferenceTo: ContentVersion

RelationshipName: ContentVersion

[JsonProperty(PropertyName = "contentVersion")]
[Updateable(false)]
[Createable(false)]
public SfContentVersion ContentVersion { get; set; }

Property Value

SfContentVersion

ContentVersionId

ContentVersion ID

Name: ContentVersionId

SF Type: reference

Nillable: False

[JsonProperty(PropertyName = "contentVersionId")]
[Updateable(false)]
[Createable(true)]
public string ContentVersionId { 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?

DistributionPublicUrl

External Link

Name: DistributionPublicUrl

SF Type: string

Nillable: True

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

Property Value

string

ExpiryDate

Expiration Date

Name: ExpiryDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

FirstViewDate

First Viewed

Name: FirstViewDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

Id

Content Delivery 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?

LastViewDate

Last Viewed

Name: LastViewDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

Name

Content Delivery 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

Password

Password

Name: Password

SF Type: string

Nillable: True

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

Property Value

string

PdfDownloadUrl

PDF Download Link

Name: PdfDownloadUrl

SF Type: string

Nillable: True

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

Property Value

string

PreferencesAllowOriginalDownload

Allow Download in Original Format

Name: PreferencesAllowOriginalDownload

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesAllowPDFDownload

Allow Download as PDF

Name: PreferencesAllowPDFDownload

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesAllowViewInBrowser

Allow View in the Browser

Name: PreferencesAllowViewInBrowser

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesExpires

Content Delivery Expires

Name: PreferencesExpires

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesLinkLatestVersion

Content Delivery Opens Latest Version

Name: PreferencesLinkLatestVersion

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesNotifyOnVisit

Notify Me of First View or Download

Name: PreferencesNotifyOnVisit

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesNotifyRndtnComplete

Email when Preview Images are Ready

Name: PreferencesNotifyRndtnComplete

SF Type: boolean

Nillable: False

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

Property Value

bool?

PreferencesPasswordRequired

Require Password to Access Content

Name: PreferencesPasswordRequired

SF Type: boolean

Nillable: False

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

Property Value

bool?

RelatedRecordId

Related Record ID

Name: RelatedRecordId

SF Type: reference

Nillable: True

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

ViewCount

View Count

Name: ViewCount

SF Type: int

Nillable: True

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

Property Value

int?