Interface IApiElement
Represents a generic element in the Delivery API.
Namespace: Umbraco.Cms.Core.Models.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public interface IApiElement
Properties
View SourceContentType
Gets the content type alias of the element.
Declaration
[JsonPropertyOrder(-100)]
string ContentType { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
This property is serialized first to enable use as a discriminator field by System.Text.Json.
Id
Gets the unique identifier of the element.
Declaration
Guid Id { get; }
Property Value
| Type | Description |
|---|---|
| Guid |
Properties
Gets the property values of the element.
Declaration
IDictionary<string, object?> Properties { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, object> |