6 [CollectionName(
"HttpStatistics")]
12 private Guid objectId = Guid.Empty;
13 private DateTime start = DateTime.MinValue;
14 private DateTime timestamp = DateTime.MinValue;
15 private PersistedData.Commands.Statistic[] callsPerMethod =
null;
16 private PersistedData.Commands.Statistic[] callsPerUserAgent =
null;
17 private PersistedData.Commands.Statistic[] callsPerFrom =
null;
18 private PersistedData.Commands.Statistic[] callsPerResource =
null;
19 private long nrBytesRx = 0;
20 private long nrBytesTx = 0;
21 private long nrCalls = 0;
31 set => this.objectId = value;
34 [DefaultValueDateTimeMinValue]
38 set => this.start = value;
41 public DateTime Timestamp
43 get => this.timestamp;
44 set => this.timestamp = value;
48 public PersistedData.Commands.Statistic[] CallsPerMethod
50 get => this.callsPerMethod;
51 set => this.callsPerMethod = value;
55 public PersistedData.Commands.Statistic[] CallsPerUserAgent
57 get => this.callsPerUserAgent;
58 set => this.callsPerUserAgent = value;
62 public PersistedData.Commands.Statistic[] CallsPerFrom
64 get => this.callsPerFrom;
65 set => this.callsPerFrom = value;
69 public PersistedData.Commands.Statistic[] CallsPerResource
71 get => this.callsPerResource;
72 set => this.callsPerResource = value;
78 get => this.nrBytesRx;
79 set => this.nrBytesRx = value;
85 get => this.nrBytesTx;
86 set => this.nrBytesTx = value;
93 set => this.nrCalls = value;
TypeNameSerialization
How the type name should be serialized.