Class ReportModel
Represents a report of an event.
public sealed record ReportModel : IEquatable<ReportModel>
- Inheritance
-
ReportModel
- Implements
- Inherited Members
Properties
Culture
The culture of the report.
public CultureInfo Culture { get; }
Property Value
GroupKeys
The group keys of the report.
public ICollection<IReportGroupKey> GroupKeys { get; }
Property Value
InvalidatedTime
The time when the report is to be invalidated.
public DateTimeOffset? InvalidatedTime { get; set; }
Property Value
IsExcludedFromHistory
Whether the report should be excluded from the history list.
public bool IsExcludedFromHistory { get; set; }
Property Value
Location
The location of the event.
public string? Location { get; set; }
Property Value
LocationSpecificity
The specificity of the location described by Location.
public int LocationSpecificity { get; set; }
Property Value
Remarks
This value conforms to the values of the admin_level key in OpenStreetMap, with the following extented values.
| 0 | Unknown specificity or unknown location |
| 12 | A specific point that is inside the smallest possible local administrative region |
Use the value 3 for a location that conforms to F-E regionalization.
Model
The original data model of the report.
public object? Model { get; set; }
Property Value
Remarks
It is not necessary to set this property in the generator if the model is the input model.
Predicate
The predicate of the report.
public string? Predicate { get; set; }
Property Value
Properties
The properties of the event.
public IList<ReportProperty> Properties { get; }
Property Value
RevisionKey
The revision key of the report.
public IReportRevisionKey? RevisionKey { get; set; }
Property Value
Source
The source of the report.
public string? Source { get; set; }
Property Value
Time
The time of the event.
public DateTimeOffset? Time { get; set; }
Property Value
TimeZone
The time zone of the source.
public TimeZoneInfo? TimeZone { get; set; }
Property Value
Title
The title of the report.
public string? Title { get; set; }
Property Value
UnitKeys
The unit keys of the report.
public IReadOnlyCollection<IReportUnitKey> UnitKeys { get; }
Property Value
Remarks
UtcIssueTime
The time when the report is issued, in UTC.
public DateTime UtcIssueTime { get; set; }