From e496880dbb052324f1857a4084bca84ff1dc7aa0 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Sat, 8 Dec 2018 16:20:13 +0100 Subject: Thrift: Add PresetRunScript --- src/main/thrift/bwlp.thrift | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/main/thrift') 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 osIds, +} + struct PredefinedData { 1: list netShares, 2: list ldapFilter, + 3: list 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 networkShares, 22: optional list ldapFilters, + 23: optional list presetScriptIds, } struct LectureSummary { @@ -341,6 +349,7 @@ struct LectureRead { 28: bool hasUsbAccess, 29: optional list networkShares, 30: optional list ldapFilters, + 31: optional list presetScriptIds, } struct MasterTag { -- cgit v1.2.3-55-g7522