All Classes Namespaces Files Functions Variables Groups
common.idl
Go to the documentation of this file.
1 /**
2  * @file common.idl
3  * @brief Shared structures between WebMail and WebAdmin
4  *
5  * @author Dusan Juhas
6  *
7  * @copyright Copyright © 2017 Kerio Technologies s.r.o.
8  *
9  * @defgroup Server
10  * @{
11  */
12 
13 #import <kerio/web/idl/SharedStructures.idl>
14 
15 module kerio {
16 module jsonapi {
17 
18 typedef string UtcDateTime; ///< Date+Time according RFC 2445, eg. 19970714T173000Z
19 
20 typedef longlong LongNumber; ///< Max. 9007199254740992, min. -9007199254740992
21 
22 /**
23  * Type for date/time representation
24  */
25 typedef long DateTimeStamp;
26 
27 /**
28  * Type for lists of date/times
29  */
30 typedef sequence<DateTimeStamp> DateTimeStampList;
31 
32 
33 typedef sequence<string> SettingPath;
34 typedef sequence<SettingPath> SettingQuery;
35 
36 
37 struct IdEntity {
38  kerio::web::KId id; ///< global identifier of entity
39  string name; ///< [READ-ONLY] name or description of entity
40 };
41 
43  string name; ///< name of language (national form)
44  string code; ///< code of language; E.g.: "en-gb"
45  string shortCode; ///< short code of language which is used to identify language file; e.g. "en"
46 };
47 
48 typedef sequence<LangDescription> LangDescriptionList;
49 
50 }; };
51 
52 
53 
54 /**
55  * @}
56  */