Class RoleContentElementHistory
A historical revision of a RoleContentElement: a copy of the element as it was saved. Every save
writes one; the server keeps only the newest few per element and language (ELEMENT_HISTORY_LIMIT,
default 5).
public sealed record RoleContentElementHistory : IRoleContentElementHistory
- Inheritance
-
objectRoleContentElementHistory
- Implements
Properties
Changed
When the element was changed; the history is ordered by this, newest first.
[JsonPropertyName("changed")]
public DateTimeOffset Changed { get; init; }
Property Value
- DateTimeOffset
Content
The element's content at the time of the save.
[JsonPropertyName("content")]
public string? Content { get; init; }
Property Value
- string
Created
When the element was created.
[JsonPropertyName("created")]
public DateTimeOffset Created { get; init; }
Property Value
- DateTimeOffset
ElementId
The id of the content element this is a revision of.
[JsonPropertyName("elementId")]
public string? ElementId { get; init; }
Property Value
- string
Extension
The file extension of a file element at the time of the save, without the leading dot.
[JsonPropertyName("extension")]
public string? Extension { get; init; }
Property Value
- string
Filename
Deprecated: the legacy file name or path of a file element at the time of the save.
[JsonPropertyName("filename")]
public string? Filename { get; init; }
Property Value
- string
Id
The id of this history record, as GetRoleContentHistoryRecordAsync(IOpenBiApiClient, string, CancellationToken) takes it.
[JsonPropertyName("id")]
public string? Id { get; init; }
Property Value
- string
Language
The language of the revised element; an empty string for the default language.
[JsonPropertyName("language")]
public string? Language { get; init; }
Property Value
- string
Name
The element's name at the time of the save.
[JsonPropertyName("name")]
public string? Name { get; init; }
Property Value
- string
Type
The element's type at the time of the save, as the numeric code of the legacy content type.
[JsonPropertyName("type")]
public int Type { get; init; }
Property Value
- int
UserId
The username of whoever saved this revision.
[JsonPropertyName("userId")]
public string? UserId { get; init; }
Property Value
- string