class Response(object):
    def __init__(self, response_to, payload):
        self.type = "RESPONSE"
        self.id = response_to
        if payload is not None:
            self.phase = "TRANSFER"
        else:
            self.phase = "TERMINATE"
        self.payload = payload

@@ -1,8 +1,57 @@
+from groundstation.proto.gizmo_pb2 import Gizmo%0A%0A
 class Re
@@ -218,29 +218,28 @@
        self.
-phase
+verb
  = %22TRANSFER
@@ -275,13 +275,12 @@
 elf.
-phase
+verb
  = %22
@@ -321,8 +321,271 @@
 payload%0A
+%0A    def SerializeToString(self):%0A        gizmo = Gizmo()%0A        gizmo.id = str(self.id)%0A        gizmo.type = Gizmo.REQUEST%0A        gizmo.verb = self.verb%0A        if self.payload:%0A            gizmo.payload = self.payload%0A        return gizmo.SerializeToString()%0A

Support for serializing responses