diff options
author | Simon Rettberg | 2018-12-08 16:20:13 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-12-08 16:20:13 +0100 |
commit | e496880dbb052324f1857a4084bca84ff1dc7aa0 (patch) | |
tree | 9f79f6add22b2a64773190986864e4c9b225c4d0 /src/main/thrift/bwlp.thrift | |
parent | Update to RPC version 5, break compat (diff) | |
download | master-sync-shared-e496880dbb052324f1857a4084bca84ff1dc7aa0.tar.gz master-sync-shared-e496880dbb052324f1857a4084bca84ff1dc7aa0.tar.xz master-sync-shared-e496880dbb052324f1857a4084bca84ff1dc7aa0.zip |
Thrift: Add PresetRunScript
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r-- | src/main/thrift/bwlp.thrift | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index a9a7301..8b7af3f 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -261,9 +261,16 @@ struct LdapFilter { 4: optional string title, } +struct PresetRunScript { + 1: i32 scriptId, + 2: string displayname, + 3: list<i32> osIds, +} + struct PredefinedData { 1: list<NetShare> netShares, 2: list<LdapFilter> ldapFilter, + 3: list<PresetRunScript> runScripts, } // Write lecture to sat. if optional fields are not set or null, their value stays unchanged @@ -289,6 +296,7 @@ struct LectureWrite { 20: bool hasUsbAccess, 21: optional list<NetShare> networkShares, 22: optional list<LdapFilter> ldapFilters, + 23: optional list<i32> presetScriptIds, } struct LectureSummary { @@ -341,6 +349,7 @@ struct LectureRead { 28: bool hasUsbAccess, 29: optional list<NetShare> networkShares, 30: optional list<LdapFilter> ldapFilters, + 31: optional list<i32> presetScriptIds, } struct MasterTag { |