(self)
| 137 | body.put_object(self.body) |
| 138 | |
| 139 | def _post_decode(self) -> None: |
| 140 | inst = Data(pn_message_instructions(self._msg)) |
| 141 | ann = Data(pn_message_annotations(self._msg)) |
| 142 | props = Data(pn_message_properties(self._msg)) |
| 143 | body = Data(pn_message_body(self._msg)) |
| 144 | |
| 145 | if inst.next(): |
| 146 | self.instructions = inst.get_object() |
| 147 | else: |
| 148 | self.instructions = None |
| 149 | if ann.next(): |
| 150 | self.annotations = ann.get_object() |
| 151 | else: |
| 152 | self.annotations = None |
| 153 | if props.next(): |
| 154 | self.properties = props.get_object() |
| 155 | else: |
| 156 | self.properties = None |
| 157 | if body.next(): |
| 158 | self.body = body.get_object() |
| 159 | else: |
| 160 | self.body = None |
| 161 | |
| 162 | def clear(self) -> None: |
| 163 | """ |
no test coverage detected