def _set_subject(self, value): self._check(pn_message_set_subject(self._msg, unicode2utf8(value)))
def subject(self, value: str) -> None: self._check(pn_message_set_subject(self._msg, unicode2utf8(value)))
def _set_subject(self, value): self._check(pn_message_set_subject(self._msg, unicode2utf8(value)))
def subject(self, value: str) -> None: self._check(pn_message_set_subject(self._msg, unicode2utf8(value)))