mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-25 23:28:33 -06:00
reformatted models
This commit is contained in:
@@ -2,23 +2,23 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
|
||||
namespace Model.Analytics {
|
||||
|
||||
public struct UserParticipationModel {
|
||||
|
||||
[JsonPropertyName("page_views")]
|
||||
public Dictionary<DateTime, ulong> PageViews { get; set; }
|
||||
|
||||
[JsonPropertyName("participations")]
|
||||
public IEnumerable<UserParticipationEventModel> Participations { get; set; }
|
||||
}
|
||||
namespace CanvasModel.Analytics;
|
||||
public struct UserParticipationModel
|
||||
{
|
||||
|
||||
public struct UserParticipationEventModel {
|
||||
|
||||
[JsonPropertyName("created_at")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("url")]
|
||||
public string Url { get; set; }
|
||||
}
|
||||
[JsonPropertyName("page_views")]
|
||||
public Dictionary<DateTime, ulong> PageViews { get; set; }
|
||||
|
||||
[JsonPropertyName("participations")]
|
||||
public IEnumerable<UserParticipationEventModel> Participations { get; set; }
|
||||
}
|
||||
|
||||
public struct UserParticipationEventModel
|
||||
{
|
||||
|
||||
[JsonPropertyName("created_at")]
|
||||
public DateTime CreatedAt { get; set; }
|
||||
|
||||
[JsonPropertyName("url")]
|
||||
public string Url { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user