def get(self):
attachment = {}<EOL>if self.file_content is not None:<EOL><INDENT>attachment["<STR_LIT:content>"] = self.file_content.get()<EOL><DEDENT>if self.file_type is not None:<EOL><INDENT>attachment["<STR_LIT:type>"] = self.file_type.get()<EOL><DEDENT>if self.file_name is not None:<EOL><INDENT>attachment["<STR_LIT:filename>"] = self.file_name.get()<EOL><DEDENT>if self.disposition is not None:<EOL><INDENT>attachment["<STR_LIT>"] = self.disposition.get()<EOL><DEDENT>if self.content_id is not None:<EOL><INDENT>attachment["<STR_LIT>"] = self.content_id.get()<EOL><DEDENT>return attachment<EOL>
Get a JSON-ready representation of this Attachment.

:returns: This Attachment, ready for use in a request body.
:rtype: dict