Class File
Represents information about the actual binary file of an Asset.
Inheritance
System.Object
File
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace:Contentful.Core.Models
Assembly:cs.temp.dll.dll
Syntax
public class File
Properties
ContentType
The content type of the data contained within this file.
Declaration
public string ContentType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Details
Detailed information about the file stored by Contentful.
Declaration
public FileDetails Details { get; set; }
Property Value
Type | Description |
---|---|
FileDetails |
FileName
The original name of the file.
Declaration
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
UploadReference
A reference to a SystemProperties metadata object with a type of upload.
Declaration
public UploadReference UploadReference { get; set; }
Property Value
Type | Description |
---|---|
UploadReference |
UploadUrl
The url to upload this file from.
Declaration
public string UploadUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Url
An absolute URL to this file.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
System.String |