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
public class Device : Object

Constructors

Device()

Declaration
public Device()

Properties

Id

Gets or sets the device ID.

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

LayoutId

Gets or sets the device layout ID.

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

Placeholders

Gets or sets the list of placeholder details.

Declaration
public List<PlaceholderData> Placeholders { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List

<

PlaceholderData

>

Renderings

Gets or sets the list of renderings.

Declaration
public List<Rendering> Renderings { get; set; }
Property Value
TypeDescription
System.Collections.Generic.List

<

Rendering

>
If you have suggestions for improving this article, let us know!