cale250/SiriServer- — comment on commit 692d3f4acf826cf173fd028d8500c26336f0a013
File:  line 0
By Eichhoernchen:

Also a nice idea would be for Strings which can only be chosen from a certain range,
like "Succeeded" or "Completion" that they are added to the classes like this:

class AddViews(ClientBoundCommand):
#HERE:
dialogPhaseCompletion = "Completion"
dialogPhaseSummary = "Summary"
def __init__(self, refId, scrollToTop=False, temporary=False, dialogPhase="Completion", views=None):
super(AddViews, self).__init__("AddViews", "com.apple.ace.assistant", None, refId)
self.scrollToTop = scrollToTop
self.temporary = temporary
self.dialogPhase = dialogPhase
self.views = views if views != None else []

def to_plist(self):
self.add_property('scrollToTop')
self.add_property('temporary')
self.add_property('dialogPhase')
self.add_property('views')
return super(AddViews, self).to_plist()

So one could access them by AddViews.dialogPhaseCompletion