Class Route

Version: 21.x

Represents the route information of a Sitecore layout service response.

Inheritance
System.Object
Route
Implements
Namespace: Sitecore.LayoutService.Client.Response.Model
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public class Route : FieldsReader, IFieldsReader

Constructors

Route()

Declaration
RequestResponse
public Route()

Properties

DatabaseName

Gets or sets the name of the database.

Declaration
RequestResponse
public string DatabaseName { get; set; }
Property Value
TypeDescription
System.String

DeviceId

Gets or sets the device ID.

Declaration
RequestResponse
public string DeviceId { get; set; }
Property Value
TypeDescription
System.String

ItemId

Gets or sets the route item ID.

Declaration
RequestResponse
public string ItemId { get; set; }
Property Value
TypeDescription
System.String

ItemLanguage

Gets or sets the item language.

Declaration
RequestResponse
public string ItemLanguage { get; set; }
Property Value
TypeDescription
System.String

ItemVersion

Gets or sets the item version.

Declaration
RequestResponse
public Nullable<int> ItemVersion { get; set; }
Property Value
TypeDescription
System.Nullable<System.Int32>

LayoutId

Gets or sets the layout ID.

Declaration
RequestResponse
public string LayoutId { get; set; }
Property Value
TypeDescription
System.String

Name

Gets or sets the route name.

Declaration
RequestResponse
public string Name { get; set; }
Property Value
TypeDescription
System.String

Placeholders

Gets or sets the route placeholders.

Declaration
RequestResponse
public Dictionary<string, Placeholder> Placeholders { get; set; }
Property Value
TypeDescription
System.Collections.Generic.Dictionary<System.String, Placeholder>

TemplateId

Gets or sets the template ID.

Declaration
RequestResponse
public string TemplateId { get; set; }
Property Value
TypeDescription
System.String

TemplateName

Gets or sets the template name.

Declaration
RequestResponse
public string TemplateName { get; set; }
Property Value
TypeDescription
System.String

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,