6 [CollectionName(
"XmppStatistics")]
12 private Guid objectId = Guid.Empty;
13 private DateTime start = DateTime.MinValue;
14 private DateTime timestamp = DateTime.MinValue;
15 private PersistedData.Commands.Statistic[] stanzasPerStanzaType =
null;
16 private PersistedData.Commands.Statistic[] stanzasPerFromDomain =
null;
17 private PersistedData.Commands.Statistic[] stanzasPerToDomain =
null;
18 private PersistedData.Commands.Statistic[] stanzasPerFromBareJid =
null;
19 private PersistedData.Commands.Statistic[] stanzasPerToBareJid =
null;
20 private PersistedData.Commands.Statistic[] stanzasPerNamespace =
null;
21 private PersistedData.Commands.Statistic[] stanzasPerFqn =
null;
22 private long nrBytesRx = 0;
23 private long nrBytesTx = 0;
24 private long nrStanzas = 0;
34 set => this.objectId = value;
37 [DefaultValueDateTimeMinValue]
41 set => this.start = value;
44 public DateTime Timestamp
46 get => this.timestamp;
47 set => this.timestamp = value;
51 public PersistedData.Commands.Statistic[] StanzasPerStanzaType
53 get => this.stanzasPerStanzaType;
54 set => this.stanzasPerStanzaType = value;
58 public PersistedData.Commands.Statistic[] StanzasPerFromDomain
60 get => this.stanzasPerFromDomain;
61 set => this.stanzasPerFromDomain = value;
65 public PersistedData.Commands.Statistic[] StanzasPerToDomain
67 get => this.stanzasPerToDomain;
68 set => this.stanzasPerToDomain = value;
72 public PersistedData.Commands.Statistic[] StanzasPerFromBareJid
74 get => this.stanzasPerFromBareJid;
75 set => this.stanzasPerFromBareJid = value;
79 public PersistedData.Commands.Statistic[] StanzasPerToBareJid
81 get => this.stanzasPerToBareJid;
82 set => this.stanzasPerToBareJid = value;
86 public PersistedData.Commands.Statistic[] StanzasPerNamespace
88 get => this.stanzasPerNamespace;
89 set => this.stanzasPerNamespace = value;
93 public PersistedData.Commands.Statistic[] StanzasPerFqn
95 get => this.stanzasPerFqn;
96 set => this.stanzasPerFqn = value;
100 public long NrBytesRx
102 get => this.nrBytesRx;
103 set => this.nrBytesRx = value;
107 public long NrBytesTx
109 get => this.nrBytesTx;
110 set => this.nrBytesTx = value;
114 public long NrStanzas
116 get => this.nrStanzas;
117 set => this.nrStanzas = value;
TypeNameSerialization
How the type name should be serialized.