Interface IRoleContentElementHistory
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 interface IRoleContentElementHistory
Properties
Changed
When the element was changed; the history is ordered by this, newest first.
DateTimeOffset Changed { get; init; }
Property Value
- DateTimeOffset
Content
The element's content at the time of the save.
string? Content { get; init; }
Property Value
- string
Created
When the element was created.
DateTimeOffset Created { get; init; }
Property Value
- DateTimeOffset
ElementId
The id of the content element this is a revision of.
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.
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.
string? Filename { get; init; }
Property Value
- string
Id
The id of this history record, as GetRoleContentHistoryRecordAsync(IOpenBiApiClient, string, CancellationToken) takes it.
string? Id { get; init; }
Property Value
- string
Language
The language of the revised element; an empty string for the default language.
string? Language { get; init; }
Property Value
- string
Name
The element's name at the time of the save.
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.
int Type { get; init; }
Property Value
- int
UserId
The username of whoever saved this revision.
string? UserId { get; init; }
Property Value
- string