def _generate_union_properties(self, fields):
for field in fields:<EOL><INDENT>if not is_void_type(field.data_type):<EOL><INDENT>doc = self.process_doc(<EOL>field.doc, self._docf) if field.doc else undocumented<EOL>warning_str = (<EOL>'<STR_LIT>'<EOL>'<STR_LIT>')<EOL>doc += warning_str.format(fmt_camel_upper(field.name))<EOL>self.emit_wrapped_text(<EOL>self.process_doc(doc, self._docf), prefix=comment_prefix)<EOL>self.emit(fmt_property(field=field))<EOL>self.emit()<EOL><DEDENT><DEDENT>
Emits union instance properties from the given fields.