Class File
Represents the properties of a file in a Sitecore layout service response.
Inheritance
System.Object
File
Namespace: Sitecore.LayoutService.Client.Response.Model.Properties
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
public class File : Object
Constructors
File()
Declaration
public File()
Properties
Description
Gets or sets the description of the file.
Declaration
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DisplayName
Gets or sets the display name of the file.
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Extension
Gets or sets the extension of the file.
Declaration
public string Extension { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Keywords
Gets or sets the keywords for the file.
Declaration
public string Keywords { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MimeType
Gets or sets the mime type of the file.
Declaration
public string MimeType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Gets or sets the name of the file.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Size
Gets or sets the size of the file.
Declaration
public Nullable<long> Size { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Src
Gets or sets the source of the file.
Declaration
public string Src { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets or sets the title of the file.
Declaration
public string Title { get; set; }
Property Value
Type | Description |
---|---|
System.String |