Class Route
Version: 21.x
Represents the route information of a Sitecore layout service response.
Implements
Inherited Members
Namespace: Sitecore.LayoutService.Client.Response.Model
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public class Route : FieldsReader, IFieldsReaderConstructors
Route()
Declaration
RequestResponse
public Route()Properties
DatabaseName
Gets or sets the name of the database.
Declaration
RequestResponse
public string DatabaseName { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
DeviceId
Gets or sets the device ID.
Declaration
RequestResponse
public string DeviceId { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
ItemId
Gets or sets the route item ID.
Declaration
RequestResponse
public string ItemId { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
ItemLanguage
Gets or sets the item language.
Declaration
RequestResponse
public string ItemLanguage { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
ItemVersion
Gets or sets the item version.
Declaration
RequestResponse
public Nullable<int> ItemVersion { get; set; }Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> |
LayoutId
Gets or sets the layout ID.
Declaration
RequestResponse
public string LayoutId { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets or sets the route name.
Declaration
RequestResponse
public string Name { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Placeholders
Gets or sets the route placeholders.
Declaration
RequestResponse
public Dictionary<string, Placeholder> Placeholders { get; set; }Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.Dictionary<System.String, Placeholder> |
TemplateId
Gets or sets the template ID.
Declaration
RequestResponse
public string TemplateId { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
TemplateName
Gets or sets the template name.
Declaration
RequestResponse
public string TemplateName { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |