Table of Contents

Class SfContentVersion

Namespace
NetCoreForce.Models
Assembly
NetCoreForce.Models.dll

Content Version

SObject Name: ContentVersion

Custom Object: False

public class SfContentVersion : SObject
Inheritance
SfContentVersion
Inherited Members

Properties

Checksum

Checksum

Name: Checksum

SF Type: string

Nillable: True

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

Property Value

string

ContentBodyId

Content Body ID

Name: ContentBodyId

SF Type: reference

Nillable: True

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

Property Value

string

ContentDocument

ReferenceTo: ContentDocument

RelationshipName: ContentDocument

[JsonProperty(PropertyName = "contentDocument")]
[Updateable(false)]
[Createable(false)]
public SfContentDocument ContentDocument { get; set; }

Property Value

SfContentDocument

ContentDocumentId

ContentDocument ID

Name: ContentDocumentId

SF Type: reference

Nillable: False

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

Property Value

string

ContentLocation

Content Location

Name: ContentLocation

SF Type: picklist

Nillable: False

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

Property Value

string

ContentModifiedBy

ReferenceTo: User

RelationshipName: ContentModifiedBy

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

Property Value

SfUser

ContentModifiedById

User ID

Name: ContentModifiedById

SF Type: reference

Nillable: True

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

Property Value

string

ContentModifiedDate

Content Modified Date

Name: ContentModifiedDate

SF Type: datetime

Nillable: True

[JsonProperty(PropertyName = "contentModifiedDate")]
[Updateable(false)]
[Createable(true)]
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?

ContentUrl

Content URL

Name: ContentUrl

SF Type: url

Nillable: True

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

Description

Description

Name: Description

SF Type: textarea

Nillable: True

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

Property Value

string

ExternalDataSource

ReferenceTo: ExternalDataSource

RelationshipName: ExternalDataSource

[JsonProperty(PropertyName = "externalDataSource")]
[Updateable(false)]
[Createable(false)]
public SfExternalDataSource ExternalDataSource { get; set; }

Property Value

SfExternalDataSource

ExternalDataSourceId

External Data Source ID

Name: ExternalDataSourceId

SF Type: reference

Nillable: True

[JsonProperty(PropertyName = "externalDataSourceId")]
public string ExternalDataSourceId { get; set; }

Property Value

string

ExternalDocumentInfo1

External Document Info1

Name: ExternalDocumentInfo1

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "externalDocumentInfo1")]
public string ExternalDocumentInfo1 { get; set; }

Property Value

string

ExternalDocumentInfo2

External Document Info2

Name: ExternalDocumentInfo2

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "externalDocumentInfo2")]
public string ExternalDocumentInfo2 { get; set; }

Property Value

string

FeaturedContentBoost

Featured Content Boost

Name: FeaturedContentBoost

SF Type: int

Nillable: True

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

Property Value

int?

FeaturedContentDate

Featured Content Date

Name: FeaturedContentDate

SF Type: date

Nillable: True

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

Property Value

DateTime?

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: False

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

Property Value

string

FirstPublishLocationId

First Publish Location ID

Name: FirstPublishLocationId

SF Type: reference

Nillable: True

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

Property Value

string

Id

ContentVersion ID

Name: Id

SF Type: id

Nillable: False

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

Property Value

string

IsAssetEnabled

Asset File Enabled

Name: IsAssetEnabled

SF Type: boolean

Nillable: False

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

IsLatest

Is Latest

Name: IsLatest

SF Type: boolean

Nillable: False

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

Property Value

bool?

IsMajorVersion

Major Version

Name: IsMajorVersion

SF Type: boolean

Nillable: False

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

NegativeRatingCount

Negative Rating Count

Name: NegativeRatingCount

SF Type: int

Nillable: True

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

Property Value

int?

Origin

Content Origin

Name: Origin

SF Type: picklist

Nillable: False

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

PathOnClient

Path On Client

Name: PathOnClient

SF Type: string

Nillable: True

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

Property Value

string

PositiveRatingCount

Positive Rating Count

Name: PositiveRatingCount

SF Type: int

Nillable: True

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

Property Value

int?

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

RatingCount

Rating Count

Name: RatingCount

SF Type: int

Nillable: True

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

Property Value

int?

ReasonForChange

Reason For Change

Name: ReasonForChange

SF Type: string

Nillable: True

[JsonProperty(PropertyName = "reasonForChange")]
public string ReasonForChange { 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: False

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

Property Value

string

SharingPrivacy

File Privacy on Records

Name: SharingPrivacy

SF Type: picklist

Nillable: False

[JsonProperty(PropertyName = "sharingPrivacy")]
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?

TagCsv

Tags

Name: TagCsv

SF Type: textarea

Nillable: True

[JsonProperty(PropertyName = "tagCsv")]
public string TagCsv { get; set; }

Property Value

string

TextPreview

Text Preview

Name: TextPreview

SF Type: string

Nillable: True

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

Property Value

string

Title

Title

Name: Title

SF Type: string

Nillable: False

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

Property Value

string

VersionData

Version Data

Name: VersionData

SF Type: base64

Nillable: True

[JsonProperty(PropertyName = "versionData")]
public string VersionData { get; set; }

Property Value

string

VersionDataUrl

Version Data URL

Name: VersionDataUrl

SF Type: string

Nillable: True

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

Property Value

string

VersionNumber

Version Number

Name: VersionNumber

SF Type: string

Nillable: True

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

Property Value

string