Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
MailContent.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
6
8{
12 [CollectionName("MailContent")]
13 [TypeName(TypeNameSerialization.None)]
14 [ArchivingTime(731)] // 2 years
15 [Index("ContentId")]
16 [Index("Created")]
17 public class MailContent
18 {
19 private string objectId = null;
20 private string contentId = null;
21 private string contentType = null;
22 private byte[] content = null;
23 private CaseInsensitiveString bareJid = null;
24 private DateTime created = DateTime.MinValue;
25
29 public MailContent()
30 {
31 }
32
36 [ObjectId]
37 public string ObjectId
38 {
39 get => this.objectId;
40 set => this.objectId = value;
41 }
42
46 public string ContentId
47 {
48 get => this.contentId;
49 set => this.contentId = value;
50 }
51
55 [DefaultValueNull]
57 {
58 get => this.bareJid;
59 set => this.bareJid = value;
60 }
61
65 [DefaultValueNull]
66 public string ContentType
67 {
68 get => this.contentType;
69 set => this.contentType = value;
70 }
71
75 [DefaultValueNull]
76 public byte[] Content
77 {
78 get => this.content;
79 set => this.content = value;
80 }
81
85 public DateTime Created
86 {
87 get => this.created;
88 set => this.created = value;
89 }
90 }
91}
DateTime Created
Creation timestamp.
Definition: MailContent.cs:86
CaseInsensitiveString BareJid
Bare JID
Definition: MailContent.cs:57
Represents a case-insensitive string.
TypeNameSerialization
How the type name should be serialized.