diff options
author | Jonathan Bauer | 2015-12-18 17:16:33 +0100 |
---|---|---|
committer | Jonathan Bauer | 2015-12-18 17:16:33 +0100 |
commit | 294e541bee2c8924e6613c0ee3f1eae40a550f69 (patch) | |
tree | 075a78571a717a8e916e125949ac414cb6ef0ebe /src/main/thrift/bwlp.thrift | |
parent | [vm] Add addFloppy() method (diff) | |
download | master-sync-shared-294e541bee2c8924e6613c0ee3f1eae40a550f69.tar.gz master-sync-shared-294e541bee2c8924e6613c0ee3f1eae40a550f69.tar.xz master-sync-shared-294e541bee2c8924e6613c0ee3f1eae40a550f69.zip |
[thrift] added Location definition in thrift file
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 b241b1a..5034a03 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -253,6 +253,7 @@ struct LectureWrite { 15: LecturePermissions defaultPermissions, 11: optional list<string> addAllowedUsers, // add allowed to see/select image in vmchooser. These are local accounts, not bwIDM/Master 16: optional list<string> remAllowedUsers, // users to remove from that list + 17: list<i32> locationIds, } struct LectureSummary { @@ -298,6 +299,7 @@ struct LectureRead { 18: bool hasInternetAccess, 19: LecturePermissions defaultPermissions, 22: optional LecturePermissions userPermissions, + 25: list<i32> locationIds, } struct MasterTag { @@ -353,6 +355,12 @@ struct SatelliteUserConfig { 1: bool emailNotifications, } +// Location of a Lecture +struct Location { + 1: i32 locationId, + 2: string locationName, +} + // ############ EXCEPTION ###################### exception TTransferRejectedException { @@ -453,6 +461,7 @@ service SatelliteServer { list<OperatingSystem> getOperatingSystems(), list<Virtualizer> getVirtualizers(), list<Organization> getAllOrganizations(), + list<Location> getLocations(), SatelliteStatus getStatus(), |