Table of Contents

Class SfContentDocument

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Content Document

SObject Name: ContentDocument

Custom Object: False

public class SfContentDocument : SObject
Inheritance
SfContentDocument
Inherited Members

Properties

ArchivedById

User ID

Name: ArchivedById

SF Type: reference

Nillable: True

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

Property Value

string

ArchivedDate

Archived Date

Name: ArchivedDate

SF Type: date

Nillable: True

[JsonProperty(PropertyName = "archivedDate")]
[Updateable(false)]
[Createable(false)]
public DateTime? ArchivedDate { get; set; }

Property Value

DateTime?

ContentAsset

ReferenceTo: ContentAsset

RelationshipName: ContentAsset

[JsonProperty(PropertyName = "contentAsset")]
[Updateable(false)]
[Createable(false)]
public SfContentAsset ContentAsset { get; set; }

Property Value

SfContentAsset

ContentAssetId

Asset File ID

Name: ContentAssetId

SF Type: reference

Nillable: True

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

Property Value

string

ContentModifiedDate

Content Modified Date

Name: ContentModifiedDate

SF Type: datetime

Nillable: True

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

Property Value

DateTimeOffset?

ContentSize

Size

Name: ContentSize

SF Type: int

Nillable: True

[JsonProperty(PropertyName = "contentSize")]
[Updateable(false)]
[Createable(false)]
public int? ContentSize { 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

Name: CreatedDate

SF Type: datetime

Nillable: False

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

Property Value

DateTimeOffset?

Description

Description

Name: Description

SF Type: textarea

Nillable: True

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

Property Value

string

FileExtension

File Extension

Name: FileExtension

SF Type: string

Nillable: True

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

Property Value

string

FileType

File Type

Name: FileType

SF Type: string

Nillable: True

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

Property Value

string

Id

ContentDocument ID

Name: Id

SF Type: id

Nillable: False

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

Property Value

string

IsArchived

Is Archived

Name: IsArchived

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isArchived")]
[Updateable(true)]
[Createable(false)]
public bool? IsArchived { get; set; }

Property Value

bool?

IsDeleted

Is Deleted

Name: IsDeleted

SF Type: boolean

Nillable: False

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

Property Value

bool?

IsInternalOnly

Is Internal Only

Name: IsInternalOnly

SF Type: boolean

Nillable: False

[JsonProperty(PropertyName = "isInternalOnly")]
[Updateable(true)]
[Createable(false)]
public bool? IsInternalOnly { 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?

LatestPublishedVersion

ReferenceTo: ContentVersion

RelationshipName: LatestPublishedVersion

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

Property Value

SfContentVersion

LatestPublishedVersionId

Latest Published Version ID

Name: LatestPublishedVersionId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "latestPublishedVersionId")]
[Updateable(false)]
[Createable(false)]
public string LatestPublishedVersionId { 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")]
[Updateable(true)]
[Createable(false)]
public string OwnerId { get; set; }

Property Value

string

ParentId

Parent ID

Name: ParentId

SF Type: reference

Nillable: True

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

Property Value

string

PublishStatus

Publish Status

Name: PublishStatus

SF Type: picklist

Nillable: False

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

Property Value

string

SObjectTypeName

[JsonIgnore]
public static string SObjectTypeName { get; }

Property Value

string

SharingOption

Prevent others from sharing and unsharing

Name: SharingOption

SF Type: picklist

Nillable: True

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

Property Value

string

SharingPrivacy

File Privacy on Records

Name: SharingPrivacy

SF Type: picklist

Nillable: True

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

Title

Title

Name: Title

SF Type: string

Nillable: False

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

Property Value

string