Class Device
Version: 21.x
Represents a presentation device returned in a Sitecore layout service response.
Inheritance
System.Object
Device
Namespace: Sitecore.LayoutService.Client.Response.Model.Presentation
Assembly: Sitecore.LayoutService.Client.Abstractions.dll
Syntax
RequestResponse
public class Device : ObjectConstructors
Device()
Declaration
RequestResponse
public Device()Properties
Id
Gets or sets the device ID.
Declaration
RequestResponse
public string Id { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
LayoutId
Gets or sets the device layout ID.
Declaration
RequestResponse
public string LayoutId { get; set; }Property Value
| Type | Description |
|---|---|
| System.String |
Placeholders
Gets or sets the list of placeholder details.
Declaration
RequestResponse
public List<PlaceholderData> Placeholders { get; set; }Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<PlaceholderData> |
Renderings
Gets or sets the list of renderings.
Declaration
RequestResponse
public List<Rendering> Renderings { get; set; }Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<Rendering> |