All Classes Files Functions Variables Pages
ProxyServer.idl
Go to the documentation of this file.
1 /**
2  * @file ProxyServer.idl
3  * @brief API for Proxy server
4  * @version 1
5  */
6 
7  #import <common.idl>
8 
9 module webadmin {
10 
12  boolean enabled;
13  string server;
14  long port;
15  boolean authEnabled;
16  CredentialsConfig credentials;
17 };
18 
20  boolean enabled;
21  long port;
22  boolean allowAllPorts;
23  ParentProxyConfig parentProxy;
24  boolean automaticScriptDirect;
25  boolean automaticScriptEnabled;
26 };
27 
28 interface ProxyServer {
29 
30  /**
31  * gets Proxy server configuration
32  * @param config - current configuration
33  *
34  * @throws kerio::web::ApiException \n
35  * -32001 Session expired. - "The user is not logged in." \n
36  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
37  */
38  void get(out ProxyServerConfig config);
39 
40  /**
41  * sets Proxy server configuration
42  * @param config - new configuration
43  *
44  * @throws kerio::web::ApiException \n
45  * -32001 Session expired. - "The user is not logged in." \n
46  * 1004 Access denied. - "Insufficient rights to perform the requested operation."
47  */
48  void set(in ProxyServerConfig config);
49 };
50 
51 }; //webadmin
Definition: ProxyServer.idl:19
Common Kerio Control structures, enums and types.
Definition: ProxyServer.idl:28
Definition: ProxyServer.idl:11
Definition: common.idl:18
Definition: Accounting.idl:11