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 : Object

Constructors

Device()

Declaration
RequestResponse
public Device()

Properties

Id

Gets or sets the device ID.

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

LayoutId

Gets or sets the device layout ID.

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

Placeholders

Gets or sets the list of placeholder details.

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

Renderings

Gets or sets the list of renderings.

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

Do you have some feedback for us?

If you have suggestions for improving this article,