Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveResourcePermissionManagement (trunk integration)/HeuristicLab.Clients.Hive/3.3/ServiceClients/HiveServiceClient.cs @ 7951

Last change on this file since 7951 was 7951, checked in by jkarder, 12 years ago

#1859:

  • added permission management support
  • extended administartion user interface
  • minor code improvements
File size: 81.8 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:4.0.30319.17379
5//
6//     Changes to this file may cause incorrect behavior and will be lost if
7//     the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace HeuristicLab.Clients.Hive {
12
13
14  [System.Diagnostics.DebuggerStepThroughAttribute()]
15  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
16  [System.Runtime.Serialization.DataContractAttribute(Name = "HiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
17  [System.SerializableAttribute()]
18  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.LightweightTask))]
19  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.StateLog))]
20  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Task))]
21  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.ResourcePermission))]
22  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Downtime))]
23  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.JobPermission))]
24  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.PluginData))]
25  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.NamedHiveItem))]
26  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]
27  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]
28  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]
29  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
30  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
31  public partial class HiveItem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
32
33    [System.NonSerializedAttribute()]
34    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
35
36    [System.Runtime.Serialization.OptionalFieldAttribute()]
37    private System.Guid IdField;
38
39    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
40      get {
41        return this.extensionDataField;
42      }
43      set {
44        this.extensionDataField = value;
45      }
46    }
47
48    [System.Runtime.Serialization.DataMemberAttribute()]
49    public System.Guid Id {
50      get {
51        return this.IdField;
52      }
53      set {
54        if ((this.IdField.Equals(value) != true)) {
55          this.IdField = value;
56          this.RaisePropertyChanged("Id");
57        }
58      }
59    }
60
61    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
62  }
63
64  [System.Diagnostics.DebuggerStepThroughAttribute()]
65  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
66  [System.Runtime.Serialization.DataContractAttribute(Name = "LightweightTask", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
67  [System.SerializableAttribute()]
68  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Task))]
69  public partial class LightweightTask : HeuristicLab.Clients.Hive.HiveItem {
70
71    [System.Runtime.Serialization.OptionalFieldAttribute()]
72    private System.Nullable<HeuristicLab.Clients.Hive.Command> CommandField;
73
74    [System.Runtime.Serialization.OptionalFieldAttribute()]
75    private System.TimeSpan ExecutionTimeField;
76
77    [System.Runtime.Serialization.OptionalFieldAttribute()]
78    private System.DateTime LastTaskDataUpdateField;
79
80    [System.Runtime.Serialization.OptionalFieldAttribute()]
81    private System.Nullable<System.Guid> ParentTaskIdField;
82
83    [System.Runtime.Serialization.OptionalFieldAttribute()]
84    private HeuristicLab.Clients.Hive.TaskState StateField;
85
86    [System.Runtime.Serialization.OptionalFieldAttribute()]
87    private System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLogField;
88
89    [System.Runtime.Serialization.DataMemberAttribute()]
90    public System.Nullable<HeuristicLab.Clients.Hive.Command> Command {
91      get {
92        return this.CommandField;
93      }
94      set {
95        if ((this.CommandField.Equals(value) != true)) {
96          this.CommandField = value;
97          this.RaisePropertyChanged("Command");
98        }
99      }
100    }
101
102    [System.Runtime.Serialization.DataMemberAttribute()]
103    public System.TimeSpan ExecutionTime {
104      get {
105        return this.ExecutionTimeField;
106      }
107      set {
108        if ((this.ExecutionTimeField.Equals(value) != true)) {
109          this.ExecutionTimeField = value;
110          this.RaisePropertyChanged("ExecutionTime");
111        }
112      }
113    }
114
115    [System.Runtime.Serialization.DataMemberAttribute()]
116    public System.DateTime LastTaskDataUpdate {
117      get {
118        return this.LastTaskDataUpdateField;
119      }
120      set {
121        if ((this.LastTaskDataUpdateField.Equals(value) != true)) {
122          this.LastTaskDataUpdateField = value;
123          this.RaisePropertyChanged("LastTaskDataUpdate");
124        }
125      }
126    }
127
128    [System.Runtime.Serialization.DataMemberAttribute()]
129    public System.Nullable<System.Guid> ParentTaskId {
130      get {
131        return this.ParentTaskIdField;
132      }
133      set {
134        if ((this.ParentTaskIdField.Equals(value) != true)) {
135          this.ParentTaskIdField = value;
136          this.RaisePropertyChanged("ParentTaskId");
137        }
138      }
139    }
140
141    [System.Runtime.Serialization.DataMemberAttribute()]
142    public HeuristicLab.Clients.Hive.TaskState State {
143      get {
144        return this.StateField;
145      }
146      set {
147        if ((this.StateField.Equals(value) != true)) {
148          this.StateField = value;
149          this.RaisePropertyChanged("State");
150        }
151      }
152    }
153
154    [System.Runtime.Serialization.DataMemberAttribute()]
155    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.StateLog> StateLog {
156      get {
157        return this.StateLogField;
158      }
159      set {
160        if ((object.ReferenceEquals(this.StateLogField, value) != true)) {
161          this.StateLogField = value;
162          this.RaisePropertyChanged("StateLog");
163        }
164      }
165    }
166  }
167
168  [System.Diagnostics.DebuggerStepThroughAttribute()]
169  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
170  [System.Runtime.Serialization.DataContractAttribute(Name = "StateLog", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
171  [System.SerializableAttribute()]
172  public partial class StateLog : HeuristicLab.Clients.Hive.HiveItem {
173
174    [System.Runtime.Serialization.OptionalFieldAttribute()]
175    private System.DateTime DateTimeField;
176
177    [System.Runtime.Serialization.OptionalFieldAttribute()]
178    private string ExceptionField;
179
180    [System.Runtime.Serialization.OptionalFieldAttribute()]
181    private System.Nullable<System.Guid> SlaveIdField;
182
183    [System.Runtime.Serialization.OptionalFieldAttribute()]
184    private HeuristicLab.Clients.Hive.TaskState StateField;
185
186    [System.Runtime.Serialization.OptionalFieldAttribute()]
187    private System.Guid TaskIdField;
188
189    [System.Runtime.Serialization.OptionalFieldAttribute()]
190    private System.Nullable<System.Guid> UserIdField;
191
192    [System.Runtime.Serialization.DataMemberAttribute()]
193    public System.DateTime DateTime {
194      get {
195        return this.DateTimeField;
196      }
197      set {
198        if ((this.DateTimeField.Equals(value) != true)) {
199          this.DateTimeField = value;
200          this.RaisePropertyChanged("DateTime");
201        }
202      }
203    }
204
205    [System.Runtime.Serialization.DataMemberAttribute()]
206    public string Exception {
207      get {
208        return this.ExceptionField;
209      }
210      set {
211        if ((object.ReferenceEquals(this.ExceptionField, value) != true)) {
212          this.ExceptionField = value;
213          this.RaisePropertyChanged("Exception");
214        }
215      }
216    }
217
218    [System.Runtime.Serialization.DataMemberAttribute()]
219    public System.Nullable<System.Guid> SlaveId {
220      get {
221        return this.SlaveIdField;
222      }
223      set {
224        if ((this.SlaveIdField.Equals(value) != true)) {
225          this.SlaveIdField = value;
226          this.RaisePropertyChanged("SlaveId");
227        }
228      }
229    }
230
231    [System.Runtime.Serialization.DataMemberAttribute()]
232    public HeuristicLab.Clients.Hive.TaskState State {
233      get {
234        return this.StateField;
235      }
236      set {
237        if ((this.StateField.Equals(value) != true)) {
238          this.StateField = value;
239          this.RaisePropertyChanged("State");
240        }
241      }
242    }
243
244    [System.Runtime.Serialization.DataMemberAttribute()]
245    public System.Guid TaskId {
246      get {
247        return this.TaskIdField;
248      }
249      set {
250        if ((this.TaskIdField.Equals(value) != true)) {
251          this.TaskIdField = value;
252          this.RaisePropertyChanged("TaskId");
253        }
254      }
255    }
256
257    [System.Runtime.Serialization.DataMemberAttribute()]
258    public System.Nullable<System.Guid> UserId {
259      get {
260        return this.UserIdField;
261      }
262      set {
263        if ((this.UserIdField.Equals(value) != true)) {
264          this.UserIdField = value;
265          this.RaisePropertyChanged("UserId");
266        }
267      }
268    }
269  }
270
271  [System.Diagnostics.DebuggerStepThroughAttribute()]
272  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
273  [System.Runtime.Serialization.DataContractAttribute(Name = "Task", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
274  [System.SerializableAttribute()]
275  public partial class Task : HeuristicLab.Clients.Hive.LightweightTask {
276
277    [System.Runtime.Serialization.OptionalFieldAttribute()]
278    private int CoresNeededField;
279
280    [System.Runtime.Serialization.OptionalFieldAttribute()]
281    private bool FinishWhenChildJobsFinishedField;
282
283    [System.Runtime.Serialization.OptionalFieldAttribute()]
284    private bool IsParentTaskField;
285
286    [System.Runtime.Serialization.OptionalFieldAttribute()]
287    private bool IsPrivilegedField;
288
289    [System.Runtime.Serialization.OptionalFieldAttribute()]
290    private System.Guid JobIdField;
291
292    [System.Runtime.Serialization.OptionalFieldAttribute()]
293    private System.Nullable<System.DateTime> LastHeartbeatField;
294
295    [System.Runtime.Serialization.OptionalFieldAttribute()]
296    private int MemoryNeededField;
297
298    [System.Runtime.Serialization.OptionalFieldAttribute()]
299    private System.Collections.Generic.List<System.Guid> PluginsNeededIdsField;
300
301    [System.Runtime.Serialization.OptionalFieldAttribute()]
302    private int PriorityField;
303
304    [System.Runtime.Serialization.DataMemberAttribute()]
305    public int CoresNeeded {
306      get {
307        return this.CoresNeededField;
308      }
309      set {
310        if ((this.CoresNeededField.Equals(value) != true)) {
311          this.CoresNeededField = value;
312          this.RaisePropertyChanged("CoresNeeded");
313        }
314      }
315    }
316
317    [System.Runtime.Serialization.DataMemberAttribute()]
318    public bool FinishWhenChildJobsFinished {
319      get {
320        return this.FinishWhenChildJobsFinishedField;
321      }
322      set {
323        if ((this.FinishWhenChildJobsFinishedField.Equals(value) != true)) {
324          this.FinishWhenChildJobsFinishedField = value;
325          this.RaisePropertyChanged("FinishWhenChildJobsFinished");
326        }
327      }
328    }
329
330    [System.Runtime.Serialization.DataMemberAttribute()]
331    public bool IsParentTask {
332      get {
333        return this.IsParentTaskField;
334      }
335      set {
336        if ((this.IsParentTaskField.Equals(value) != true)) {
337          this.IsParentTaskField = value;
338          this.RaisePropertyChanged("IsParentTask");
339        }
340      }
341    }
342
343    [System.Runtime.Serialization.DataMemberAttribute()]
344    public bool IsPrivileged {
345      get {
346        return this.IsPrivilegedField;
347      }
348      set {
349        if ((this.IsPrivilegedField.Equals(value) != true)) {
350          this.IsPrivilegedField = value;
351          this.RaisePropertyChanged("IsPrivileged");
352        }
353      }
354    }
355
356    [System.Runtime.Serialization.DataMemberAttribute()]
357    public System.Guid JobId {
358      get {
359        return this.JobIdField;
360      }
361      set {
362        if ((this.JobIdField.Equals(value) != true)) {
363          this.JobIdField = value;
364          this.RaisePropertyChanged("JobId");
365        }
366      }
367    }
368
369    [System.Runtime.Serialization.DataMemberAttribute()]
370    public System.Nullable<System.DateTime> LastHeartbeat {
371      get {
372        return this.LastHeartbeatField;
373      }
374      set {
375        if ((this.LastHeartbeatField.Equals(value) != true)) {
376          this.LastHeartbeatField = value;
377          this.RaisePropertyChanged("LastHeartbeat");
378        }
379      }
380    }
381
382    [System.Runtime.Serialization.DataMemberAttribute()]
383    public int MemoryNeeded {
384      get {
385        return this.MemoryNeededField;
386      }
387      set {
388        if ((this.MemoryNeededField.Equals(value) != true)) {
389          this.MemoryNeededField = value;
390          this.RaisePropertyChanged("MemoryNeeded");
391        }
392      }
393    }
394
395    [System.Runtime.Serialization.DataMemberAttribute()]
396    public System.Collections.Generic.List<System.Guid> PluginsNeededIds {
397      get {
398        return this.PluginsNeededIdsField;
399      }
400      set {
401        if ((object.ReferenceEquals(this.PluginsNeededIdsField, value) != true)) {
402          this.PluginsNeededIdsField = value;
403          this.RaisePropertyChanged("PluginsNeededIds");
404        }
405      }
406    }
407
408    [System.Runtime.Serialization.DataMemberAttribute()]
409    public int Priority {
410      get {
411        return this.PriorityField;
412      }
413      set {
414        if ((this.PriorityField.Equals(value) != true)) {
415          this.PriorityField = value;
416          this.RaisePropertyChanged("Priority");
417        }
418      }
419    }
420  }
421
422  [System.Diagnostics.DebuggerStepThroughAttribute()]
423  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
424  [System.Runtime.Serialization.DataContractAttribute(Name = "Downtime", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
425  [System.SerializableAttribute()]
426  public partial class Downtime : HeuristicLab.Clients.Hive.HiveItem {
427
428    [System.Runtime.Serialization.OptionalFieldAttribute()]
429    private bool AllDayEventField;
430
431    [System.Runtime.Serialization.OptionalFieldAttribute()]
432    private System.DateTime EndDateField;
433
434    [System.Runtime.Serialization.OptionalFieldAttribute()]
435    private bool RecurringField;
436
437    [System.Runtime.Serialization.OptionalFieldAttribute()]
438    private System.Guid RecurringIdField;
439
440    [System.Runtime.Serialization.OptionalFieldAttribute()]
441    private System.Guid ResourceIdField;
442
443    [System.Runtime.Serialization.OptionalFieldAttribute()]
444    private System.DateTime StartDateField;
445
446    [System.Runtime.Serialization.DataMemberAttribute()]
447    public bool AllDayEvent {
448      get {
449        return this.AllDayEventField;
450      }
451      set {
452        if ((this.AllDayEventField.Equals(value) != true)) {
453          this.AllDayEventField = value;
454          this.RaisePropertyChanged("AllDayEvent");
455        }
456      }
457    }
458
459    [System.Runtime.Serialization.DataMemberAttribute()]
460    public System.DateTime EndDate {
461      get {
462        return this.EndDateField;
463      }
464      set {
465        if ((this.EndDateField.Equals(value) != true)) {
466          this.EndDateField = value;
467          this.RaisePropertyChanged("EndDate");
468        }
469      }
470    }
471
472    [System.Runtime.Serialization.DataMemberAttribute()]
473    public bool Recurring {
474      get {
475        return this.RecurringField;
476      }
477      set {
478        if ((this.RecurringField.Equals(value) != true)) {
479          this.RecurringField = value;
480          this.RaisePropertyChanged("Recurring");
481        }
482      }
483    }
484
485    [System.Runtime.Serialization.DataMemberAttribute()]
486    public System.Guid RecurringId {
487      get {
488        return this.RecurringIdField;
489      }
490      set {
491        if ((this.RecurringIdField.Equals(value) != true)) {
492          this.RecurringIdField = value;
493          this.RaisePropertyChanged("RecurringId");
494        }
495      }
496    }
497
498    [System.Runtime.Serialization.DataMemberAttribute()]
499    public System.Guid ResourceId {
500      get {
501        return this.ResourceIdField;
502      }
503      set {
504        if ((this.ResourceIdField.Equals(value) != true)) {
505          this.ResourceIdField = value;
506          this.RaisePropertyChanged("ResourceId");
507        }
508      }
509    }
510
511    [System.Runtime.Serialization.DataMemberAttribute()]
512    public System.DateTime StartDate {
513      get {
514        return this.StartDateField;
515      }
516      set {
517        if ((this.StartDateField.Equals(value) != true)) {
518          this.StartDateField = value;
519          this.RaisePropertyChanged("StartDate");
520        }
521      }
522    }
523  }
524
525  [System.Diagnostics.DebuggerStepThroughAttribute()]
526  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
527  [System.Runtime.Serialization.DataContractAttribute(Name = "JobPermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
528  [System.SerializableAttribute()]
529  public partial class JobPermission : HeuristicLab.Clients.Hive.HiveItem {
530
531    [System.Runtime.Serialization.OptionalFieldAttribute()]
532    private System.Guid GrantedByUserIdField;
533
534    [System.Runtime.Serialization.OptionalFieldAttribute()]
535    private System.Guid GrantedUserIdField;
536
537    [System.Runtime.Serialization.OptionalFieldAttribute()]
538    private System.Guid JobIdField;
539
540    [System.Runtime.Serialization.OptionalFieldAttribute()]
541    private HeuristicLab.Clients.Hive.Permission PermissionField;
542
543    [System.Runtime.Serialization.DataMemberAttribute()]
544    public System.Guid GrantedByUserId {
545      get {
546        return this.GrantedByUserIdField;
547      }
548      set {
549        if ((this.GrantedByUserIdField.Equals(value) != true)) {
550          this.GrantedByUserIdField = value;
551          this.RaisePropertyChanged("GrantedByUserId");
552        }
553      }
554    }
555
556    [System.Runtime.Serialization.DataMemberAttribute()]
557    public System.Guid GrantedUserId {
558      get {
559        return this.GrantedUserIdField;
560      }
561      set {
562        if ((this.GrantedUserIdField.Equals(value) != true)) {
563          this.GrantedUserIdField = value;
564          this.RaisePropertyChanged("GrantedUserId");
565        }
566      }
567    }
568
569    [System.Runtime.Serialization.DataMemberAttribute()]
570    public System.Guid JobId {
571      get {
572        return this.JobIdField;
573      }
574      set {
575        if ((this.JobIdField.Equals(value) != true)) {
576          this.JobIdField = value;
577          this.RaisePropertyChanged("JobId");
578        }
579      }
580    }
581
582    [System.Runtime.Serialization.DataMemberAttribute()]
583    public HeuristicLab.Clients.Hive.Permission Permission {
584      get {
585        return this.PermissionField;
586      }
587      set {
588        if ((this.PermissionField.Equals(value) != true)) {
589          this.PermissionField = value;
590          this.RaisePropertyChanged("Permission");
591        }
592      }
593    }
594  }
595
596  [System.Diagnostics.DebuggerStepThroughAttribute()]
597  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
598  [System.Runtime.Serialization.DataContractAttribute(Name = "PluginData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
599  [System.SerializableAttribute()]
600  public partial class PluginData : HeuristicLab.Clients.Hive.HiveItem {
601
602    [System.Runtime.Serialization.OptionalFieldAttribute()]
603    private byte[] DataField;
604
605    [System.Runtime.Serialization.OptionalFieldAttribute()]
606    private string FileNameField;
607
608    [System.Runtime.Serialization.OptionalFieldAttribute()]
609    private System.Guid PluginIdField;
610
611    [System.Runtime.Serialization.DataMemberAttribute()]
612    public byte[] Data {
613      get {
614        return this.DataField;
615      }
616      set {
617        if ((object.ReferenceEquals(this.DataField, value) != true)) {
618          this.DataField = value;
619          this.RaisePropertyChanged("Data");
620        }
621      }
622    }
623
624    [System.Runtime.Serialization.DataMemberAttribute()]
625    public string FileName {
626      get {
627        return this.FileNameField;
628      }
629      set {
630        if ((object.ReferenceEquals(this.FileNameField, value) != true)) {
631          this.FileNameField = value;
632          this.RaisePropertyChanged("FileName");
633        }
634      }
635    }
636
637    [System.Runtime.Serialization.DataMemberAttribute()]
638    public System.Guid PluginId {
639      get {
640        return this.PluginIdField;
641      }
642      set {
643        if ((this.PluginIdField.Equals(value) != true)) {
644          this.PluginIdField = value;
645          this.RaisePropertyChanged("PluginId");
646        }
647      }
648    }
649  }
650
651  [System.Diagnostics.DebuggerStepThroughAttribute()]
652  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
653  [System.Runtime.Serialization.DataContractAttribute(Name = "ResourcePermission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
654  [System.SerializableAttribute()]
655  public partial class ResourcePermission : HeuristicLab.Clients.Hive.HiveItem {
656
657    [System.Runtime.Serialization.OptionalFieldAttribute()]
658    private System.Guid GrantedByUserIdField;
659
660    [System.Runtime.Serialization.OptionalFieldAttribute()]
661    private System.Guid GrantedUserIdField;
662
663    [System.Runtime.Serialization.OptionalFieldAttribute()]
664    private System.Guid ResourceIdField;
665
666    [System.Runtime.Serialization.DataMemberAttribute()]
667    public System.Guid GrantedByUserId {
668      get {
669        return this.GrantedByUserIdField;
670      }
671      set {
672        if ((this.GrantedByUserIdField.Equals(value) != true)) {
673          this.GrantedByUserIdField = value;
674          this.RaisePropertyChanged("GrantedByUserId");
675        }
676      }
677    }
678
679    [System.Runtime.Serialization.DataMemberAttribute()]
680    public System.Guid GrantedUserId {
681      get {
682        return this.GrantedUserIdField;
683      }
684      set {
685        if ((this.GrantedUserIdField.Equals(value) != true)) {
686          this.GrantedUserIdField = value;
687          this.RaisePropertyChanged("GrantedUserId");
688        }
689      }
690    }
691
692    [System.Runtime.Serialization.DataMemberAttribute()]
693    public System.Guid ResourceId {
694      get {
695        return this.ResourceIdField;
696      }
697      set {
698        if ((this.ResourceIdField.Equals(value) != true)) {
699          this.ResourceIdField = value;
700          this.RaisePropertyChanged("ResourceId");
701        }
702      }
703    }
704  }
705
706  [System.Diagnostics.DebuggerStepThroughAttribute()]
707  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
708  [System.Runtime.Serialization.DataContractAttribute(Name = "NamedHiveItem", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
709  [System.SerializableAttribute()]
710  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Job))]
711  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Plugin))]
712  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Resource))]
713  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
714  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
715  public partial class NamedHiveItem : HeuristicLab.Clients.Hive.HiveItem {
716
717    [System.Runtime.Serialization.OptionalFieldAttribute()]
718    private string DescriptionField;
719
720    [System.Runtime.Serialization.OptionalFieldAttribute()]
721    private string NameField;
722
723    [System.Runtime.Serialization.DataMemberAttribute()]
724    public string Description {
725      get {
726        return this.DescriptionField;
727      }
728      set {
729        if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
730          this.DescriptionField = value;
731          this.RaisePropertyChanged("Description");
732        }
733      }
734    }
735
736    [System.Runtime.Serialization.DataMemberAttribute()]
737    public string Name {
738      get {
739        return this.NameField;
740      }
741      set {
742        if ((object.ReferenceEquals(this.NameField, value) != true)) {
743          this.NameField = value;
744          this.RaisePropertyChanged("Name");
745        }
746      }
747    }
748  }
749
750  [System.Diagnostics.DebuggerStepThroughAttribute()]
751  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
752  [System.Runtime.Serialization.DataContractAttribute(Name = "Job", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
753  [System.SerializableAttribute()]
754  public partial class Job : HeuristicLab.Clients.Hive.NamedHiveItem {
755
756    [System.Runtime.Serialization.OptionalFieldAttribute()]
757    private int CalculatingCountField;
758
759    [System.Runtime.Serialization.OptionalFieldAttribute()]
760    private System.DateTime DateCreatedField;
761
762    [System.Runtime.Serialization.OptionalFieldAttribute()]
763    private int FinishedCountField;
764
765    [System.Runtime.Serialization.OptionalFieldAttribute()]
766    private int JobCountField;
767
768    [System.Runtime.Serialization.OptionalFieldAttribute()]
769    private System.Guid OwnerUserIdField;
770
771    [System.Runtime.Serialization.OptionalFieldAttribute()]
772    private string OwnerUsernameField;
773
774    [System.Runtime.Serialization.OptionalFieldAttribute()]
775    private HeuristicLab.Clients.Hive.Permission PermissionField;
776
777    [System.Runtime.Serialization.OptionalFieldAttribute()]
778    private string ResourceNamesField;
779
780    [System.Runtime.Serialization.DataMemberAttribute()]
781    public int CalculatingCount {
782      get {
783        return this.CalculatingCountField;
784      }
785      set {
786        if ((this.CalculatingCountField.Equals(value) != true)) {
787          this.CalculatingCountField = value;
788          this.RaisePropertyChanged("CalculatingCount");
789        }
790      }
791    }
792
793    [System.Runtime.Serialization.DataMemberAttribute()]
794    public System.DateTime DateCreated {
795      get {
796        return this.DateCreatedField;
797      }
798      set {
799        if ((this.DateCreatedField.Equals(value) != true)) {
800          this.DateCreatedField = value;
801          this.RaisePropertyChanged("DateCreated");
802        }
803      }
804    }
805
806    [System.Runtime.Serialization.DataMemberAttribute()]
807    public int FinishedCount {
808      get {
809        return this.FinishedCountField;
810      }
811      set {
812        if ((this.FinishedCountField.Equals(value) != true)) {
813          this.FinishedCountField = value;
814          this.RaisePropertyChanged("FinishedCount");
815        }
816      }
817    }
818
819    [System.Runtime.Serialization.DataMemberAttribute()]
820    public int JobCount {
821      get {
822        return this.JobCountField;
823      }
824      set {
825        if ((this.JobCountField.Equals(value) != true)) {
826          this.JobCountField = value;
827          this.RaisePropertyChanged("JobCount");
828        }
829      }
830    }
831
832    [System.Runtime.Serialization.DataMemberAttribute()]
833    public System.Guid OwnerUserId {
834      get {
835        return this.OwnerUserIdField;
836      }
837      set {
838        if ((this.OwnerUserIdField.Equals(value) != true)) {
839          this.OwnerUserIdField = value;
840          this.RaisePropertyChanged("OwnerUserId");
841        }
842      }
843    }
844
845    [System.Runtime.Serialization.DataMemberAttribute()]
846    public string OwnerUsername {
847      get {
848        return this.OwnerUsernameField;
849      }
850      set {
851        if ((object.ReferenceEquals(this.OwnerUsernameField, value) != true)) {
852          this.OwnerUsernameField = value;
853          this.RaisePropertyChanged("OwnerUsername");
854        }
855      }
856    }
857
858    [System.Runtime.Serialization.DataMemberAttribute()]
859    public HeuristicLab.Clients.Hive.Permission Permission {
860      get {
861        return this.PermissionField;
862      }
863      set {
864        if ((this.PermissionField.Equals(value) != true)) {
865          this.PermissionField = value;
866          this.RaisePropertyChanged("Permission");
867        }
868      }
869    }
870
871    [System.Runtime.Serialization.DataMemberAttribute()]
872    public string ResourceNames {
873      get {
874        return this.ResourceNamesField;
875      }
876      set {
877        if ((object.ReferenceEquals(this.ResourceNamesField, value) != true)) {
878          this.ResourceNamesField = value;
879          this.RaisePropertyChanged("ResourceNames");
880        }
881      }
882    }
883  }
884
885  [System.Diagnostics.DebuggerStepThroughAttribute()]
886  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
887  [System.Runtime.Serialization.DataContractAttribute(Name = "Plugin", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
888  [System.SerializableAttribute()]
889  public partial class Plugin : HeuristicLab.Clients.Hive.NamedHiveItem {
890
891    [System.Runtime.Serialization.OptionalFieldAttribute()]
892    private System.DateTime DateCreatedField;
893
894    [System.Runtime.Serialization.OptionalFieldAttribute()]
895    private byte[] HashField;
896
897    [System.Runtime.Serialization.OptionalFieldAttribute()]
898    private System.Guid UserIdField;
899
900    [System.Runtime.Serialization.OptionalFieldAttribute()]
901    private System.Version VersionField;
902
903    [System.Runtime.Serialization.DataMemberAttribute()]
904    public System.DateTime DateCreated {
905      get {
906        return this.DateCreatedField;
907      }
908      set {
909        if ((this.DateCreatedField.Equals(value) != true)) {
910          this.DateCreatedField = value;
911          this.RaisePropertyChanged("DateCreated");
912        }
913      }
914    }
915
916    [System.Runtime.Serialization.DataMemberAttribute()]
917    public byte[] Hash {
918      get {
919        return this.HashField;
920      }
921      set {
922        if ((object.ReferenceEquals(this.HashField, value) != true)) {
923          this.HashField = value;
924          this.RaisePropertyChanged("Hash");
925        }
926      }
927    }
928
929    [System.Runtime.Serialization.DataMemberAttribute()]
930    public System.Guid UserId {
931      get {
932        return this.UserIdField;
933      }
934      set {
935        if ((this.UserIdField.Equals(value) != true)) {
936          this.UserIdField = value;
937          this.RaisePropertyChanged("UserId");
938        }
939      }
940    }
941
942    [System.Runtime.Serialization.DataMemberAttribute()]
943    public System.Version Version {
944      get {
945        return this.VersionField;
946      }
947      set {
948        if ((object.ReferenceEquals(this.VersionField, value) != true)) {
949          this.VersionField = value;
950          this.RaisePropertyChanged("Version");
951        }
952      }
953    }
954  }
955
956  [System.Diagnostics.DebuggerStepThroughAttribute()]
957  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
958  [System.Runtime.Serialization.DataContractAttribute(Name = "Resource", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
959  [System.SerializableAttribute()]
960  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.Slave))]
961  [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.Hive.SlaveGroup))]
962  public partial class Resource : HeuristicLab.Clients.Hive.NamedHiveItem {
963
964    [System.Runtime.Serialization.OptionalFieldAttribute()]
965    private int HbIntervalField;
966
967    [System.Runtime.Serialization.OptionalFieldAttribute()]
968    private System.Nullable<System.Guid> OwnerUserIdField;
969
970    [System.Runtime.Serialization.OptionalFieldAttribute()]
971    private System.Nullable<System.Guid> ParentResourceIdField;
972
973    [System.Runtime.Serialization.DataMemberAttribute()]
974    public int HbInterval {
975      get {
976        return this.HbIntervalField;
977      }
978      set {
979        if ((this.HbIntervalField.Equals(value) != true)) {
980          this.HbIntervalField = value;
981          this.RaisePropertyChanged("HbInterval");
982        }
983      }
984    }
985
986    [System.Runtime.Serialization.DataMemberAttribute()]
987    public System.Nullable<System.Guid> OwnerUserId {
988      get {
989        return this.OwnerUserIdField;
990      }
991      set {
992        if ((this.OwnerUserIdField.Equals(value) != true)) {
993          this.OwnerUserIdField = value;
994          this.RaisePropertyChanged("OwnerUserId");
995        }
996      }
997    }
998
999    [System.Runtime.Serialization.DataMemberAttribute()]
1000    public System.Nullable<System.Guid> ParentResourceId {
1001      get {
1002        return this.ParentResourceIdField;
1003      }
1004      set {
1005        if ((this.ParentResourceIdField.Equals(value) != true)) {
1006          this.ParentResourceIdField = value;
1007          this.RaisePropertyChanged("ParentResourceId");
1008        }
1009      }
1010    }
1011  }
1012
1013  [System.Diagnostics.DebuggerStepThroughAttribute()]
1014  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1015  [System.Runtime.Serialization.DataContractAttribute(Name = "Slave", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1016  [System.SerializableAttribute()]
1017  public partial class Slave : HeuristicLab.Clients.Hive.Resource {
1018
1019    [System.Runtime.Serialization.OptionalFieldAttribute()]
1020    private System.Nullable<int> CoresField;
1021
1022    [System.Runtime.Serialization.OptionalFieldAttribute()]
1023    private HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitectureField;
1024
1025    [System.Runtime.Serialization.OptionalFieldAttribute()]
1026    private System.Nullable<int> CpuSpeedField;
1027
1028    [System.Runtime.Serialization.OptionalFieldAttribute()]
1029    private double CpuUtilizationField;
1030
1031    [System.Runtime.Serialization.OptionalFieldAttribute()]
1032    private System.Nullable<int> FreeCoresField;
1033
1034    [System.Runtime.Serialization.OptionalFieldAttribute()]
1035    private System.Nullable<int> FreeMemoryField;
1036
1037    [System.Runtime.Serialization.OptionalFieldAttribute()]
1038    private bool IsAllowedToCalculateField;
1039
1040    [System.Runtime.Serialization.OptionalFieldAttribute()]
1041    private System.Nullable<bool> IsDisposableField;
1042
1043    [System.Runtime.Serialization.OptionalFieldAttribute()]
1044    private System.Nullable<System.DateTime> LastHeartbeatField;
1045
1046    [System.Runtime.Serialization.OptionalFieldAttribute()]
1047    private System.Nullable<int> MemoryField;
1048
1049    [System.Runtime.Serialization.OptionalFieldAttribute()]
1050    private string OperatingSystemField;
1051
1052    [System.Runtime.Serialization.OptionalFieldAttribute()]
1053    private HeuristicLab.Clients.Hive.SlaveState SlaveStateField;
1054
1055    [System.Runtime.Serialization.DataMemberAttribute()]
1056    public System.Nullable<int> Cores {
1057      get {
1058        return this.CoresField;
1059      }
1060      set {
1061        if ((this.CoresField.Equals(value) != true)) {
1062          this.CoresField = value;
1063          this.RaisePropertyChanged("Cores");
1064        }
1065      }
1066    }
1067
1068    [System.Runtime.Serialization.DataMemberAttribute()]
1069    public HeuristicLab.Clients.Hive.CpuArchitecture CpuArchitecture {
1070      get {
1071        return this.CpuArchitectureField;
1072      }
1073      set {
1074        if ((this.CpuArchitectureField.Equals(value) != true)) {
1075          this.CpuArchitectureField = value;
1076          this.RaisePropertyChanged("CpuArchitecture");
1077        }
1078      }
1079    }
1080
1081    [System.Runtime.Serialization.DataMemberAttribute()]
1082    public System.Nullable<int> CpuSpeed {
1083      get {
1084        return this.CpuSpeedField;
1085      }
1086      set {
1087        if ((this.CpuSpeedField.Equals(value) != true)) {
1088          this.CpuSpeedField = value;
1089          this.RaisePropertyChanged("CpuSpeed");
1090        }
1091      }
1092    }
1093
1094    [System.Runtime.Serialization.DataMemberAttribute()]
1095    public double CpuUtilization {
1096      get {
1097        return this.CpuUtilizationField;
1098      }
1099      set {
1100        if ((this.CpuUtilizationField.Equals(value) != true)) {
1101          this.CpuUtilizationField = value;
1102          this.RaisePropertyChanged("CpuUtilization");
1103        }
1104      }
1105    }
1106
1107    [System.Runtime.Serialization.DataMemberAttribute()]
1108    public System.Nullable<int> FreeCores {
1109      get {
1110        return this.FreeCoresField;
1111      }
1112      set {
1113        if ((this.FreeCoresField.Equals(value) != true)) {
1114          this.FreeCoresField = value;
1115          this.RaisePropertyChanged("FreeCores");
1116        }
1117      }
1118    }
1119
1120    [System.Runtime.Serialization.DataMemberAttribute()]
1121    public System.Nullable<int> FreeMemory {
1122      get {
1123        return this.FreeMemoryField;
1124      }
1125      set {
1126        if ((this.FreeMemoryField.Equals(value) != true)) {
1127          this.FreeMemoryField = value;
1128          this.RaisePropertyChanged("FreeMemory");
1129        }
1130      }
1131    }
1132
1133    [System.Runtime.Serialization.DataMemberAttribute()]
1134    public bool IsAllowedToCalculate {
1135      get {
1136        return this.IsAllowedToCalculateField;
1137      }
1138      set {
1139        if ((this.IsAllowedToCalculateField.Equals(value) != true)) {
1140          this.IsAllowedToCalculateField = value;
1141          this.RaisePropertyChanged("IsAllowedToCalculate");
1142        }
1143      }
1144    }
1145
1146    [System.Runtime.Serialization.DataMemberAttribute()]
1147    public System.Nullable<bool> IsDisposable {
1148      get {
1149        return this.IsDisposableField;
1150      }
1151      set {
1152        if ((this.IsDisposableField.Equals(value) != true)) {
1153          this.IsDisposableField = value;
1154          this.RaisePropertyChanged("IsDisposable");
1155        }
1156      }
1157    }
1158
1159    [System.Runtime.Serialization.DataMemberAttribute()]
1160    public System.Nullable<System.DateTime> LastHeartbeat {
1161      get {
1162        return this.LastHeartbeatField;
1163      }
1164      set {
1165        if ((this.LastHeartbeatField.Equals(value) != true)) {
1166          this.LastHeartbeatField = value;
1167          this.RaisePropertyChanged("LastHeartbeat");
1168        }
1169      }
1170    }
1171
1172    [System.Runtime.Serialization.DataMemberAttribute()]
1173    public System.Nullable<int> Memory {
1174      get {
1175        return this.MemoryField;
1176      }
1177      set {
1178        if ((this.MemoryField.Equals(value) != true)) {
1179          this.MemoryField = value;
1180          this.RaisePropertyChanged("Memory");
1181        }
1182      }
1183    }
1184
1185    [System.Runtime.Serialization.DataMemberAttribute()]
1186    public string OperatingSystem {
1187      get {
1188        return this.OperatingSystemField;
1189      }
1190      set {
1191        if ((object.ReferenceEquals(this.OperatingSystemField, value) != true)) {
1192          this.OperatingSystemField = value;
1193          this.RaisePropertyChanged("OperatingSystem");
1194        }
1195      }
1196    }
1197
1198    [System.Runtime.Serialization.DataMemberAttribute()]
1199    public HeuristicLab.Clients.Hive.SlaveState SlaveState {
1200      get {
1201        return this.SlaveStateField;
1202      }
1203      set {
1204        if ((this.SlaveStateField.Equals(value) != true)) {
1205          this.SlaveStateField = value;
1206          this.RaisePropertyChanged("SlaveState");
1207        }
1208      }
1209    }
1210  }
1211
1212  [System.Diagnostics.DebuggerStepThroughAttribute()]
1213  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1214  [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveGroup", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1215  [System.SerializableAttribute()]
1216  public partial class SlaveGroup : HeuristicLab.Clients.Hive.Resource {
1217  }
1218
1219  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1220  [System.Runtime.Serialization.DataContractAttribute(Name = "Command", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1221  public enum Command : int {
1222
1223    [System.Runtime.Serialization.EnumMemberAttribute()]
1224    Stop = 0,
1225
1226    [System.Runtime.Serialization.EnumMemberAttribute()]
1227    Abort = 1,
1228
1229    [System.Runtime.Serialization.EnumMemberAttribute()]
1230    Pause = 2,
1231  }
1232
1233  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1234  [System.Runtime.Serialization.DataContractAttribute(Name = "TaskState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1235  public enum TaskState : int {
1236
1237    [System.Runtime.Serialization.EnumMemberAttribute()]
1238    Offline = 0,
1239
1240    [System.Runtime.Serialization.EnumMemberAttribute()]
1241    Waiting = 1,
1242
1243    [System.Runtime.Serialization.EnumMemberAttribute()]
1244    Transferring = 2,
1245
1246    [System.Runtime.Serialization.EnumMemberAttribute()]
1247    Calculating = 3,
1248
1249    [System.Runtime.Serialization.EnumMemberAttribute()]
1250    Paused = 4,
1251
1252    [System.Runtime.Serialization.EnumMemberAttribute()]
1253    Finished = 5,
1254
1255    [System.Runtime.Serialization.EnumMemberAttribute()]
1256    Aborted = 6,
1257
1258    [System.Runtime.Serialization.EnumMemberAttribute()]
1259    Failed = 7,
1260  }
1261
1262  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1263  [System.Runtime.Serialization.DataContractAttribute(Name = "Permission", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1264  public enum Permission : int {
1265
1266    [System.Runtime.Serialization.EnumMemberAttribute()]
1267    NotAllowed = 0,
1268
1269    [System.Runtime.Serialization.EnumMemberAttribute()]
1270    Read = 1,
1271
1272    [System.Runtime.Serialization.EnumMemberAttribute()]
1273    Full = 2,
1274  }
1275
1276  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1277  [System.Runtime.Serialization.DataContractAttribute(Name = "CpuArchitecture", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1278  public enum CpuArchitecture : int {
1279
1280    [System.Runtime.Serialization.EnumMemberAttribute()]
1281    x86 = 0,
1282
1283    [System.Runtime.Serialization.EnumMemberAttribute()]
1284    x64 = 1,
1285  }
1286
1287  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1288  [System.Runtime.Serialization.DataContractAttribute(Name = "SlaveState", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1289  public enum SlaveState : int {
1290
1291    [System.Runtime.Serialization.EnumMemberAttribute()]
1292    Idle = 0,
1293
1294    [System.Runtime.Serialization.EnumMemberAttribute()]
1295    Calculating = 1,
1296
1297    [System.Runtime.Serialization.EnumMemberAttribute()]
1298    Offline = 2,
1299  }
1300
1301  [System.Diagnostics.DebuggerStepThroughAttribute()]
1302  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1303  [System.Runtime.Serialization.DataContractAttribute(Name = "TaskData", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1304  [System.SerializableAttribute()]
1305  public partial class TaskData : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1306
1307    [System.NonSerializedAttribute()]
1308    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1309
1310    [System.Runtime.Serialization.OptionalFieldAttribute()]
1311    private byte[] DataField;
1312
1313    [System.Runtime.Serialization.OptionalFieldAttribute()]
1314    private System.DateTime LastUpdateField;
1315
1316    [System.Runtime.Serialization.OptionalFieldAttribute()]
1317    private System.Guid TaskIdField;
1318
1319    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1320      get {
1321        return this.extensionDataField;
1322      }
1323      set {
1324        this.extensionDataField = value;
1325      }
1326    }
1327
1328    [System.Runtime.Serialization.DataMemberAttribute()]
1329    public byte[] Data {
1330      get {
1331        return this.DataField;
1332      }
1333      set {
1334        if ((object.ReferenceEquals(this.DataField, value) != true)) {
1335          this.DataField = value;
1336          this.RaisePropertyChanged("Data");
1337        }
1338      }
1339    }
1340
1341    [System.Runtime.Serialization.DataMemberAttribute()]
1342    public System.DateTime LastUpdate {
1343      get {
1344        return this.LastUpdateField;
1345      }
1346      set {
1347        if ((this.LastUpdateField.Equals(value) != true)) {
1348          this.LastUpdateField = value;
1349          this.RaisePropertyChanged("LastUpdate");
1350        }
1351      }
1352    }
1353
1354    [System.Runtime.Serialization.DataMemberAttribute()]
1355    public System.Guid TaskId {
1356      get {
1357        return this.TaskIdField;
1358      }
1359      set {
1360        if ((this.TaskIdField.Equals(value) != true)) {
1361          this.TaskIdField = value;
1362          this.RaisePropertyChanged("TaskId");
1363        }
1364      }
1365    }
1366
1367    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1368
1369    protected void RaisePropertyChanged(string propertyName) {
1370      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1371      if ((propertyChanged != null)) {
1372        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1373      }
1374    }
1375  }
1376
1377  [System.Diagnostics.DebuggerStepThroughAttribute()]
1378  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1379  [System.Runtime.Serialization.DataContractAttribute(Name = "Heartbeat", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive.DataTransfer")]
1380  [System.SerializableAttribute()]
1381  public partial class Heartbeat : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1382
1383    [System.NonSerializedAttribute()]
1384    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1385
1386    [System.Runtime.Serialization.OptionalFieldAttribute()]
1387    private bool AssignJobField;
1388
1389    [System.Runtime.Serialization.OptionalFieldAttribute()]
1390    private float CpuUtilizationField;
1391
1392    [System.Runtime.Serialization.OptionalFieldAttribute()]
1393    private int FreeCoresField;
1394
1395    [System.Runtime.Serialization.OptionalFieldAttribute()]
1396    private int FreeMemoryField;
1397
1398    [System.Runtime.Serialization.OptionalFieldAttribute()]
1399    private int HbIntervalField;
1400
1401    [System.Runtime.Serialization.OptionalFieldAttribute()]
1402    private System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgressField;
1403
1404    [System.Runtime.Serialization.OptionalFieldAttribute()]
1405    private System.Guid SlaveIdField;
1406
1407    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1408      get {
1409        return this.extensionDataField;
1410      }
1411      set {
1412        this.extensionDataField = value;
1413      }
1414    }
1415
1416    [System.Runtime.Serialization.DataMemberAttribute()]
1417    public bool AssignJob {
1418      get {
1419        return this.AssignJobField;
1420      }
1421      set {
1422        if ((this.AssignJobField.Equals(value) != true)) {
1423          this.AssignJobField = value;
1424          this.RaisePropertyChanged("AssignJob");
1425        }
1426      }
1427    }
1428
1429    [System.Runtime.Serialization.DataMemberAttribute()]
1430    public float CpuUtilization {
1431      get {
1432        return this.CpuUtilizationField;
1433      }
1434      set {
1435        if ((this.CpuUtilizationField.Equals(value) != true)) {
1436          this.CpuUtilizationField = value;
1437          this.RaisePropertyChanged("CpuUtilization");
1438        }
1439      }
1440    }
1441
1442    [System.Runtime.Serialization.DataMemberAttribute()]
1443    public int FreeCores {
1444      get {
1445        return this.FreeCoresField;
1446      }
1447      set {
1448        if ((this.FreeCoresField.Equals(value) != true)) {
1449          this.FreeCoresField = value;
1450          this.RaisePropertyChanged("FreeCores");
1451        }
1452      }
1453    }
1454
1455    [System.Runtime.Serialization.DataMemberAttribute()]
1456    public int FreeMemory {
1457      get {
1458        return this.FreeMemoryField;
1459      }
1460      set {
1461        if ((this.FreeMemoryField.Equals(value) != true)) {
1462          this.FreeMemoryField = value;
1463          this.RaisePropertyChanged("FreeMemory");
1464        }
1465      }
1466    }
1467
1468    [System.Runtime.Serialization.DataMemberAttribute()]
1469    public int HbInterval {
1470      get {
1471        return this.HbIntervalField;
1472      }
1473      set {
1474        if ((this.HbIntervalField.Equals(value) != true)) {
1475          this.HbIntervalField = value;
1476          this.RaisePropertyChanged("HbInterval");
1477        }
1478      }
1479    }
1480
1481    [System.Runtime.Serialization.DataMemberAttribute()]
1482    public System.Collections.Generic.Dictionary<System.Guid, System.TimeSpan> JobProgress {
1483      get {
1484        return this.JobProgressField;
1485      }
1486      set {
1487        if ((object.ReferenceEquals(this.JobProgressField, value) != true)) {
1488          this.JobProgressField = value;
1489          this.RaisePropertyChanged("JobProgress");
1490        }
1491      }
1492    }
1493
1494    [System.Runtime.Serialization.DataMemberAttribute()]
1495    public System.Guid SlaveId {
1496      get {
1497        return this.SlaveIdField;
1498      }
1499      set {
1500        if ((this.SlaveIdField.Equals(value) != true)) {
1501          this.SlaveIdField = value;
1502          this.RaisePropertyChanged("SlaveId");
1503        }
1504      }
1505    }
1506
1507    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1508
1509    protected void RaisePropertyChanged(string propertyName) {
1510      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1511      if ((propertyChanged != null)) {
1512        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1513      }
1514    }
1515  }
1516
1517  [System.Diagnostics.DebuggerStepThroughAttribute()]
1518  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1519  [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1520  [System.SerializableAttribute()]
1521  public partial class MessageContainer : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1522
1523    [System.NonSerializedAttribute()]
1524    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1525
1526    [System.Runtime.Serialization.OptionalFieldAttribute()]
1527    private HeuristicLab.Clients.Hive.MessageContainer.MessageType MessageField;
1528
1529    [System.Runtime.Serialization.OptionalFieldAttribute()]
1530    private System.Guid TaskIdField;
1531
1532    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1533      get {
1534        return this.extensionDataField;
1535      }
1536      set {
1537        this.extensionDataField = value;
1538      }
1539    }
1540
1541    [System.Runtime.Serialization.DataMemberAttribute()]
1542    public HeuristicLab.Clients.Hive.MessageContainer.MessageType Message {
1543      get {
1544        return this.MessageField;
1545      }
1546      set {
1547        if ((this.MessageField.Equals(value) != true)) {
1548          this.MessageField = value;
1549          this.RaisePropertyChanged("Message");
1550        }
1551      }
1552    }
1553
1554    [System.Runtime.Serialization.DataMemberAttribute()]
1555    public System.Guid TaskId {
1556      get {
1557        return this.TaskIdField;
1558      }
1559      set {
1560        if ((this.TaskIdField.Equals(value) != true)) {
1561          this.TaskIdField = value;
1562          this.RaisePropertyChanged("TaskId");
1563        }
1564      }
1565    }
1566
1567    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1568
1569    protected void RaisePropertyChanged(string propertyName) {
1570      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1571      if ((propertyChanged != null)) {
1572        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1573      }
1574    }
1575
1576    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1577    [System.Runtime.Serialization.DataContractAttribute(Name = "MessageContainer.MessageType", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1578    public enum MessageType : int {
1579
1580      [System.Runtime.Serialization.EnumMemberAttribute()]
1581      CalculateTask = 0,
1582
1583      [System.Runtime.Serialization.EnumMemberAttribute()]
1584      StopTask = 1,
1585
1586      [System.Runtime.Serialization.EnumMemberAttribute()]
1587      StopAll = 2,
1588
1589      [System.Runtime.Serialization.EnumMemberAttribute()]
1590      AbortTask = 3,
1591
1592      [System.Runtime.Serialization.EnumMemberAttribute()]
1593      AbortAll = 4,
1594
1595      [System.Runtime.Serialization.EnumMemberAttribute()]
1596      PauseTask = 5,
1597
1598      [System.Runtime.Serialization.EnumMemberAttribute()]
1599      PauseAll = 6,
1600
1601      [System.Runtime.Serialization.EnumMemberAttribute()]
1602      Restart = 7,
1603
1604      [System.Runtime.Serialization.EnumMemberAttribute()]
1605      Sleep = 8,
1606
1607      [System.Runtime.Serialization.EnumMemberAttribute()]
1608      ShutdownSlave = 9,
1609
1610      [System.Runtime.Serialization.EnumMemberAttribute()]
1611      SayHello = 10,
1612
1613      [System.Runtime.Serialization.EnumMemberAttribute()]
1614      NewHBInterval = 11,
1615    }
1616  }
1617
1618  [System.Diagnostics.DebuggerStepThroughAttribute()]
1619  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
1620  [System.Runtime.Serialization.DataContractAttribute(Name = "PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1621  [System.SerializableAttribute()]
1622  public partial class PluginAlreadyExistsFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
1623
1624    [System.NonSerializedAttribute()]
1625    private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
1626
1627    [System.Runtime.Serialization.OptionalFieldAttribute()]
1628    private System.Guid IdField;
1629
1630    public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
1631      get {
1632        return this.extensionDataField;
1633      }
1634      set {
1635        this.extensionDataField = value;
1636      }
1637    }
1638
1639    [System.Runtime.Serialization.DataMemberAttribute()]
1640    public System.Guid Id {
1641      get {
1642        return this.IdField;
1643      }
1644      set {
1645        if ((this.IdField.Equals(value) != true)) {
1646          this.IdField = value;
1647          this.RaisePropertyChanged("Id");
1648        }
1649      }
1650    }
1651
1652    public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
1653
1654    protected void RaisePropertyChanged(string propertyName) {
1655      System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
1656      if ((propertyChanged != null)) {
1657        propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
1658      }
1659    }
1660  }
1661
1662  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1663  [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "HeuristicLab.Clients.Hive.IHiveService")]
1664  public interface IHiveService {
1665
1666    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupResponse")]
1667    HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId);
1668
1669    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaves", ReplyAction = "http://tempuri.org/IHiveService/GetSlavesResponse")]
1670    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves();
1671
1672    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlaveGroups", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveGroupsResponse")]
1673    System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups();
1674
1675    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlave", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveResponse")]
1676    void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave);
1677
1678    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/UpdateSlaveGroupResponse")]
1679    void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
1680
1681    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlave", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveResponse")]
1682    void DeleteSlave(System.Guid slaveId);
1683
1684    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/DeleteSlaveGroupResponse")]
1685    void DeleteSlaveGroup(System.Guid slaveGroupId);
1686
1687    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddResourceToGroup", ReplyAction = "http://tempuri.org/IHiveService/AddResourceToGroupResponse")]
1688    void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId);
1689
1690    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RemoveResourceFromGroup", ReplyAction = "http://tempuri.org/IHiveService/RemoveResourceFromGroupResponse")]
1691    void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId);
1692
1693    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetResourceIdResponse")]
1694    System.Guid GetResourceId(string resourceName);
1695
1696    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasksByResourceId", ReplyAction = "http://tempuri.org/IHiveService/GetTasksByResourceIdResponse")]
1697    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId);
1698
1699    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/TriggerEventManager", ReplyAction = "http://tempuri.org/IHiveService/TriggerEventManagerResponse")]
1700    void TriggerEventManager(bool force);
1701
1702    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetNewHeartbeatInterval", ReplyAction = "http://tempuri.org/IHiveService/GetNewHeartbeatIntervalResponse")]
1703    int GetNewHeartbeatInterval(System.Guid slaveId);
1704
1705    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddDowntime", ReplyAction = "http://tempuri.org/IHiveService/AddDowntimeResponse")]
1706    System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
1707
1708    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteDowntime", ReplyAction = "http://tempuri.org/IHiveService/DeleteDowntimeResponse")]
1709    void DeleteDowntime(System.Guid downtimeId);
1710
1711    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateDowntime", ReplyAction = "http://tempuri.org/IHiveService/UpdateDowntimeResponse")]
1712    void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime);
1713
1714    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetDowntimesForResource", ReplyAction = "http://tempuri.org/IHiveService/GetDowntimesForResourceResponse")]
1715    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId);
1716
1717    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUsernameByUserId", ReplyAction = "http://tempuri.org/IHiveService/GetUsernameByUserIdResponse")]
1718    string GetUsernameByUserId(System.Guid userId);
1719
1720    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetUserIdByUsername", ReplyAction = "http://tempuri.org/IHiveService/GetUserIdByUsernameResponse")]
1721    System.Guid GetUserIdByUsername(string username);
1722
1723    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AuthorizesForResourceAdministration", ReplyAction = "http://tempuri.org/IHiveService/AuthorizesForResourceAdministrationResponse")]
1724    bool AuthorizesForResourceAdministration(System.Guid resourceId);
1725
1726    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddTask", ReplyAction = "http://tempuri.org/IHiveService/AddTaskResponse")]
1727    System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds);
1728
1729    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddChildTask", ReplyAction = "http://tempuri.org/IHiveService/AddChildTaskResponse")]
1730    System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData);
1731
1732    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTask", ReplyAction = "http://tempuri.org/IHiveService/GetTaskResponse")]
1733    HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId);
1734
1735    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTasks", ReplyAction = "http://tempuri.org/IHiveService/GetTasksResponse")]
1736    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks();
1737
1738    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightTasksResponse")]
1739    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds);
1740
1741    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightChildTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightChildTasksResponse")]
1742    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent);
1743
1744    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetLightweightJobTasks", ReplyAction = "http://tempuri.org/IHiveService/GetLightweightJobTasksResponse")]
1745    System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId);
1746
1747    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetTaskData", ReplyAction = "http://tempuri.org/IHiveService/GetTaskDataResponse")]
1748    HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId);
1749
1750    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTask", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskResponse")]
1751    void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto);
1752
1753    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskData", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskDataResponse")]
1754    void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto);
1755
1756    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteTask", ReplyAction = "http://tempuri.org/IHiveService/DeleteTaskResponse")]
1757    void DeleteTask(System.Guid taskId);
1758
1759    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteChildTasks", ReplyAction = "http://tempuri.org/IHiveService/DeleteChildTasksResponse")]
1760    void DeleteChildTasks(System.Guid parentTaskId);
1761
1762    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateTaskState", ReplyAction = "http://tempuri.org/IHiveService/UpdateTaskStateResponse")]
1763    HeuristicLab.Clients.Hive.Task UpdateTaskState(System.Guid taskId, HeuristicLab.Clients.Hive.TaskState taskState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception);
1764
1765    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/StopTask", ReplyAction = "http://tempuri.org/IHiveService/StopTaskResponse")]
1766    void StopTask(System.Guid taskId);
1767
1768    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/PauseTask", ReplyAction = "http://tempuri.org/IHiveService/PauseTaskResponse")]
1769    void PauseTask(System.Guid taskId);
1770
1771    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RestartTask", ReplyAction = "http://tempuri.org/IHiveService/RestartTaskResponse")]
1772    void RestartTask(System.Guid taskId);
1773
1774    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJob", ReplyAction = "http://tempuri.org/IHiveService/GetJobResponse")]
1775    HeuristicLab.Clients.Hive.Job GetJob(System.Guid id);
1776
1777    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobs", ReplyAction = "http://tempuri.org/IHiveService/GetJobsResponse")]
1778    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs();
1779
1780    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetAllJobs", ReplyAction = "http://tempuri.org/IHiveService/GetAllJobsResponse")]
1781    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs();
1782
1783    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddJob", ReplyAction = "http://tempuri.org/IHiveService/AddJobResponse")]
1784    System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto);
1785
1786    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/UpdateJob", ReplyAction = "http://tempuri.org/IHiveService/UpdateJobResponse")]
1787    void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto);
1788
1789    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeleteJob", ReplyAction = "http://tempuri.org/IHiveService/DeleteJobResponse")]
1790    void DeleteJob(System.Guid JobId);
1791
1792    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantPermission", ReplyAction = "http://tempuri.org/IHiveService/GrantPermissionResponse")]
1793    void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission);
1794
1795    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokePermission", ReplyAction = "http://tempuri.org/IHiveService/RevokePermissionResponse")]
1796    void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId);
1797
1798    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetJobPermissions", ReplyAction = "http://tempuri.org/IHiveService/GetJobPermissionsResponse")]
1799    System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId);
1800
1801    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/IsAllowedPrivileged", ReplyAction = "http://tempuri.org/IHiveService/IsAllowedPrivilegedResponse")]
1802    bool IsAllowedPrivileged();
1803
1804    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Hello", ReplyAction = "http://tempuri.org/IHiveService/HelloResponse")]
1805    void Hello(HeuristicLab.Clients.Hive.Slave slave);
1806
1807    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GoodBye", ReplyAction = "http://tempuri.org/IHiveService/GoodByeResponse")]
1808    void GoodBye(System.Guid slaveId);
1809
1810    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/Heartbeat", ReplyAction = "http://tempuri.org/IHiveService/HeartbeatResponse")]
1811    System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat([System.ServiceModel.MessageParameterAttribute(Name = "heartbeat")] HeuristicLab.Clients.Hive.Heartbeat heartbeat1);
1812
1813    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugin", ReplyAction = "http://tempuri.org/IHiveService/GetPluginResponse")]
1814    HeuristicLab.Clients.Hive.Plugin GetPlugin(System.Guid pluginId);
1815
1816    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginByHash", ReplyAction = "http://tempuri.org/IHiveService/GetPluginByHashResponse")]
1817    HeuristicLab.Clients.Hive.Plugin GetPluginByHash(byte[] hash);
1818
1819    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddPlugin", ReplyAction = "http://tempuri.org/IHiveService/AddPluginResponse")]
1820    [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.Hive.PluginAlreadyExistsFault), Action = "http://tempuri.org/IHiveService/AddPluginPluginAlreadyExistsFaultFault", Name = "PluginAlreadyExistsFault", Namespace = "http://schemas.datacontract.org/2004/07/HeuristicLab.Services.Hive")]
1821    System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData);
1822
1823    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPlugins", ReplyAction = "http://tempuri.org/IHiveService/GetPluginsResponse")]
1824    System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins();
1825
1826    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetPluginDatas", ReplyAction = "http://tempuri.org/IHiveService/GetPluginDatasResponse")]
1827    System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds);
1828
1829    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/DeletePlugin", ReplyAction = "http://tempuri.org/IHiveService/DeletePluginResponse")]
1830    void DeletePlugin(System.Guid pluginId);
1831
1832    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GrantResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/GrantResourcePermissionsResponse")]
1833    void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds);
1834
1835    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/RevokeResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/RevokeResourcePermissionsResponse")]
1836    void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds);
1837
1838    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetResourcePermissions", ReplyAction = "http://tempuri.org/IHiveService/GetResourcePermissionsResponse")]
1839    System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId);
1840
1841    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlave", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveResponse")]
1842    System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave);
1843
1844    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/AddSlaveGroup", ReplyAction = "http://tempuri.org/IHiveService/AddSlaveGroupResponse")]
1845    System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup);
1846
1847    [System.ServiceModel.OperationContractAttribute(Action = "http://tempuri.org/IHiveService/GetSlave", ReplyAction = "http://tempuri.org/IHiveService/GetSlaveResponse")]
1848    HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId);
1849  }
1850
1851  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1852  public interface IHiveServiceChannel : HeuristicLab.Clients.Hive.IHiveService, System.ServiceModel.IClientChannel {
1853  }
1854
1855  [System.Diagnostics.DebuggerStepThroughAttribute()]
1856  [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
1857  public partial class HiveServiceClient : System.ServiceModel.ClientBase<HeuristicLab.Clients.Hive.IHiveService>, HeuristicLab.Clients.Hive.IHiveService {
1858
1859    public HiveServiceClient() {
1860    }
1861
1862    public HiveServiceClient(string endpointConfigurationName) :
1863      base(endpointConfigurationName) {
1864    }
1865
1866    public HiveServiceClient(string endpointConfigurationName, string remoteAddress) :
1867      base(endpointConfigurationName, remoteAddress) {
1868    }
1869
1870    public HiveServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
1871      base(endpointConfigurationName, remoteAddress) {
1872    }
1873
1874    public HiveServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
1875      base(binding, remoteAddress) {
1876    }
1877
1878    public HeuristicLab.Clients.Hive.SlaveGroup GetSlaveGroup(System.Guid slaveGroupId) {
1879      return base.Channel.GetSlaveGroup(slaveGroupId);
1880    }
1881
1882    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Slave> GetSlaves() {
1883      return base.Channel.GetSlaves();
1884    }
1885
1886    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.SlaveGroup> GetSlaveGroups() {
1887      return base.Channel.GetSlaveGroups();
1888    }
1889
1890    public void UpdateSlave(HeuristicLab.Clients.Hive.Slave slave) {
1891      base.Channel.UpdateSlave(slave);
1892    }
1893
1894    public void UpdateSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
1895      base.Channel.UpdateSlaveGroup(slaveGroup);
1896    }
1897
1898    public void DeleteSlave(System.Guid slaveId) {
1899      base.Channel.DeleteSlave(slaveId);
1900    }
1901
1902    public void DeleteSlaveGroup(System.Guid slaveGroupId) {
1903      base.Channel.DeleteSlaveGroup(slaveGroupId);
1904    }
1905
1906    public void AddResourceToGroup(System.Guid slaveGroupId, System.Guid resourceId) {
1907      base.Channel.AddResourceToGroup(slaveGroupId, resourceId);
1908    }
1909
1910    public void RemoveResourceFromGroup(System.Guid slaveGroupId, System.Guid resourceId) {
1911      base.Channel.RemoveResourceFromGroup(slaveGroupId, resourceId);
1912    }
1913
1914    public System.Guid GetResourceId(string resourceName) {
1915      return base.Channel.GetResourceId(resourceName);
1916    }
1917
1918    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasksByResourceId(System.Guid resourceId) {
1919      return base.Channel.GetTasksByResourceId(resourceId);
1920    }
1921
1922    public void TriggerEventManager(bool force) {
1923      base.Channel.TriggerEventManager(force);
1924    }
1925
1926    public int GetNewHeartbeatInterval(System.Guid slaveId) {
1927      return base.Channel.GetNewHeartbeatInterval(slaveId);
1928    }
1929
1930    public System.Guid AddDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
1931      return base.Channel.AddDowntime(downtime);
1932    }
1933
1934    public void DeleteDowntime(System.Guid downtimeId) {
1935      base.Channel.DeleteDowntime(downtimeId);
1936    }
1937
1938    public void UpdateDowntime(HeuristicLab.Clients.Hive.Downtime downtime) {
1939      base.Channel.UpdateDowntime(downtime);
1940    }
1941
1942    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Downtime> GetDowntimesForResource(System.Guid resourceId) {
1943      return base.Channel.GetDowntimesForResource(resourceId);
1944    }
1945
1946    public string GetUsernameByUserId(System.Guid userId) {
1947      return base.Channel.GetUsernameByUserId(userId);
1948    }
1949
1950    public System.Guid GetUserIdByUsername(string username) {
1951      return base.Channel.GetUserIdByUsername(username);
1952    }
1953
1954    public bool AuthorizesForResourceAdministration(System.Guid resourceId) {
1955      return base.Channel.AuthorizesForResourceAdministration(resourceId);
1956    }
1957
1958    public System.Guid AddTask(HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData, System.Collections.Generic.List<System.Guid> resourceIds) {
1959      return base.Channel.AddTask(task, taskData, resourceIds);
1960    }
1961
1962    public System.Guid AddChildTask(System.Guid parentTaskId, HeuristicLab.Clients.Hive.Task task, HeuristicLab.Clients.Hive.TaskData taskData) {
1963      return base.Channel.AddChildTask(parentTaskId, task, taskData);
1964    }
1965
1966    public HeuristicLab.Clients.Hive.Task GetTask(System.Guid taskId) {
1967      return base.Channel.GetTask(taskId);
1968    }
1969
1970    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Task> GetTasks() {
1971      return base.Channel.GetTasks();
1972    }
1973
1974    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightTasks(System.Collections.Generic.List<System.Guid> taskIds) {
1975      return base.Channel.GetLightweightTasks(taskIds);
1976    }
1977
1978    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightChildTasks(System.Nullable<System.Guid> parentTaskId, bool recursive, bool includeParent) {
1979      return base.Channel.GetLightweightChildTasks(parentTaskId, recursive, includeParent);
1980    }
1981
1982    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.LightweightTask> GetLightweightJobTasks(System.Guid jobId) {
1983      return base.Channel.GetLightweightJobTasks(jobId);
1984    }
1985
1986    public HeuristicLab.Clients.Hive.TaskData GetTaskData(System.Guid taskId) {
1987      return base.Channel.GetTaskData(taskId);
1988    }
1989
1990    public void UpdateTask(HeuristicLab.Clients.Hive.Task taskDto) {
1991      base.Channel.UpdateTask(taskDto);
1992    }
1993
1994    public void UpdateTaskData(HeuristicLab.Clients.Hive.Task taskDto, HeuristicLab.Clients.Hive.TaskData taskDataDto) {
1995      base.Channel.UpdateTaskData(taskDto, taskDataDto);
1996    }
1997
1998    public void DeleteTask(System.Guid taskId) {
1999      base.Channel.DeleteTask(taskId);
2000    }
2001
2002    public void DeleteChildTasks(System.Guid parentTaskId) {
2003      base.Channel.DeleteChildTasks(parentTaskId);
2004    }
2005
2006    public HeuristicLab.Clients.Hive.Task UpdateTaskState(System.Guid taskId, HeuristicLab.Clients.Hive.TaskState taskState, System.Nullable<System.Guid> slaveId, System.Nullable<System.Guid> userId, string exception) {
2007      return base.Channel.UpdateTaskState(taskId, taskState, slaveId, userId, exception);
2008    }
2009
2010    public void StopTask(System.Guid taskId) {
2011      base.Channel.StopTask(taskId);
2012    }
2013
2014    public void PauseTask(System.Guid taskId) {
2015      base.Channel.PauseTask(taskId);
2016    }
2017
2018    public void RestartTask(System.Guid taskId) {
2019      base.Channel.RestartTask(taskId);
2020    }
2021
2022    public HeuristicLab.Clients.Hive.Job GetJob(System.Guid id) {
2023      return base.Channel.GetJob(id);
2024    }
2025
2026    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetJobs() {
2027      return base.Channel.GetJobs();
2028    }
2029
2030    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Job> GetAllJobs() {
2031      return base.Channel.GetAllJobs();
2032    }
2033
2034    public System.Guid AddJob(HeuristicLab.Clients.Hive.Job jobDto) {
2035      return base.Channel.AddJob(jobDto);
2036    }
2037
2038    public void UpdateJob(HeuristicLab.Clients.Hive.Job jobDto) {
2039      base.Channel.UpdateJob(jobDto);
2040    }
2041
2042    public void DeleteJob(System.Guid JobId) {
2043      base.Channel.DeleteJob(JobId);
2044    }
2045
2046    public void GrantPermission(System.Guid jobId, System.Guid grantedUserId, HeuristicLab.Clients.Hive.Permission permission) {
2047      base.Channel.GrantPermission(jobId, grantedUserId, permission);
2048    }
2049
2050    public void RevokePermission(System.Guid hiveExperimentId, System.Guid grantedUserId) {
2051      base.Channel.RevokePermission(hiveExperimentId, grantedUserId);
2052    }
2053
2054    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.JobPermission> GetJobPermissions(System.Guid jobId) {
2055      return base.Channel.GetJobPermissions(jobId);
2056    }
2057
2058    public bool IsAllowedPrivileged() {
2059      return base.Channel.IsAllowedPrivileged();
2060    }
2061
2062    public void Hello(HeuristicLab.Clients.Hive.Slave slave) {
2063      base.Channel.Hello(slave);
2064    }
2065
2066    public void GoodBye(System.Guid slaveId) {
2067      base.Channel.GoodBye(slaveId);
2068    }
2069
2070    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.MessageContainer> Heartbeat(HeuristicLab.Clients.Hive.Heartbeat heartbeat1) {
2071      return base.Channel.Heartbeat(heartbeat1);
2072    }
2073
2074    public HeuristicLab.Clients.Hive.Plugin GetPlugin(System.Guid pluginId) {
2075      return base.Channel.GetPlugin(pluginId);
2076    }
2077
2078    public HeuristicLab.Clients.Hive.Plugin GetPluginByHash(byte[] hash) {
2079      return base.Channel.GetPluginByHash(hash);
2080    }
2081
2082    public System.Guid AddPlugin(HeuristicLab.Clients.Hive.Plugin plugin, System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> pluginData) {
2083      return base.Channel.AddPlugin(plugin, pluginData);
2084    }
2085
2086    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.Plugin> GetPlugins() {
2087      return base.Channel.GetPlugins();
2088    }
2089
2090    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.PluginData> GetPluginDatas(System.Collections.Generic.List<System.Guid> pluginIds) {
2091      return base.Channel.GetPluginDatas(pluginIds);
2092    }
2093
2094    public void DeletePlugin(System.Guid pluginId) {
2095      base.Channel.DeletePlugin(pluginId);
2096    }
2097
2098    public void GrantResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds) {
2099      base.Channel.GrantResourcePermissions(resourceId, grantedUserIds);
2100    }
2101
2102    public void RevokeResourcePermissions(System.Guid resourceId, System.Collections.Generic.List<System.Guid> grantedUserIds) {
2103      base.Channel.RevokeResourcePermissions(resourceId, grantedUserIds);
2104    }
2105
2106    public System.Collections.Generic.List<HeuristicLab.Clients.Hive.ResourcePermission> GetResourcePermissions(System.Guid resourceId) {
2107      return base.Channel.GetResourcePermissions(resourceId);
2108    }
2109
2110    public System.Guid AddSlave(HeuristicLab.Clients.Hive.Slave slave) {
2111      return base.Channel.AddSlave(slave);
2112    }
2113
2114    public System.Guid AddSlaveGroup(HeuristicLab.Clients.Hive.SlaveGroup slaveGroup) {
2115      return base.Channel.AddSlaveGroup(slaveGroup);
2116    }
2117
2118    public HeuristicLab.Clients.Hive.Slave GetSlave(System.Guid slaveId) {
2119      return base.Channel.GetSlave(slaveId);
2120    }
2121  }
2122}
Note: See TracBrowser for help on using the repository browser.