Inbox
FilesConfig
Holds Inbox files configuration.
public class FilesConfig{
Long maxCount,
Long maxFileSize,
Long maxWholeUploadSize,
Long minCount
}
Fields
Name | Type | Description |
---|---|---|
maxCount | Long | Maximum number of files allowed when sending Inbox entry. |
maxFileSize | Long | Maximum file size allowed when sending Inbox entry. |
maxWholeUploadSize | Long | Maximum size of all files in total allowed when sending Inbox entry. |
minCount | Long | Minimum number of files required when sending Inbox entry. |
Inbox
Holds all available information about an Inbox.
public class Inbox{
String contextId,
Long createDate,
String creator,
FilesConfig filesConfig,
String inboxId,
Long lastModificationDate,
String lastModifier,
List<String> managers,
byte[] privateMeta,
byte[] publicMeta,
Long statusCode,
List<String> users,
Long version
}
Fields
Name | Type | Description |
---|---|---|
contextId | String | ID of the Context. |
createDate | Long | Inbox creation timestamp. |
creator | String | ID of the user who created the Inbox. |
filesConfig | FilesConfig | Inbox files configuration. |
inboxId | String | ID of the Inbox. |
lastModificationDate | Long | Inbox last modification timestamp. |
lastModifier | String | ID of the user who last modified the Inbox. |
managers | List<String> | List of users (their IDs) with management rights. |
privateMeta | byte[] | Inbox private metadata. |
publicMeta | byte[] | Inbox public metadata. |
statusCode | Long | Status code of retrieval and decryption of the `Inbox`. |
users | List<String> | List of users (their IDs) with access to the Inbox. |
version | Long | Version number (changes on updates). |
InboxEntry
Holds information about Inbox entry.
public class InboxEntry{
String authorPubKey,
Long createDate,
byte[] data,
String entryId,
List<File> files,
String inboxId,
Long statusCode
}
Fields
Name | Type | Description |
---|---|---|
authorPubKey | String | Public key of the author of an entry. |
createDate | Long | Inbox entry creation timestamp. |
data | byte[] | Entry data. |
entryId | String | ID of the entry. |
files | List<File> | List of files attached to the entry. |
inboxId | String | ID of the Inbox. |
statusCode | Long | Status code of retrieval and decryption of the `Inbox` entry. |
InboxPublicView
Holds Inbox public information.
public class InboxPublicView{
String inboxId,
byte[] publicMeta,
Long version
}
Fields
Name | Type | Description |
---|---|---|
inboxId | String | ID of the Inbox. |
publicMeta | byte[] | Inbox public metadata. |
version | Long | Version of the Inbox. |