Class Device
- 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
LayoutId
Gets or sets the device layout ID.
[DataMember(Name = "layoutId")]
[JsonPropertyName("layoutId")]
public string? LayoutId { get; set; }
Property Value
Placeholders
Gets or sets the list of placeholder details.
[DataMember(Name = "placeholders")]
[JsonPropertyName("placeholders")]
public List<PlaceholderData> Placeholders { get; set; }
Property Value
Renderings
Gets or sets the list of renderings.
[DataMember(Name = "renderings")]
[JsonPropertyName("renderings")]
public List<Rendering> Renderings { get; set; }