Table of Contents

Class Device

Namespace
Sitecore.AspNetCore.SDK.LayoutService.Client.Response.Model.Presentation
Assembly
Sitecore.AspNetCore.SDK.LayoutService.Client.dll

Represents a presentation device returned in a Sitecore layout service response.

public class Device
Inheritance
Device
Inherited Members

Properties

Id

Gets or sets the device ID.

[DataMember(Name = "id")]
[JsonPropertyName("id")]
public string? Id { get; set; }

Property Value

string

LayoutId

Gets or sets the device layout ID.

[DataMember(Name = "layoutId")]
[JsonPropertyName("layoutId")]
public string? LayoutId { get; set; }

Property Value

string

Placeholders

Gets or sets the list of placeholder details.

[DataMember(Name = "placeholders")]
[JsonPropertyName("placeholders")]
public List<PlaceholderData> Placeholders { get; set; }

Property Value

List<PlaceholderData>

Renderings

Gets or sets the list of renderings.

[DataMember(Name = "renderings")]
[JsonPropertyName("renderings")]
public List<Rendering> Renderings { get; set; }

Property Value

List<Rendering>