def get(self):
mail_settings = {}<EOL>if self.bcc_settings is not None:<EOL><INDENT>mail_settings["<STR_LIT>"] = self.bcc_settings.get()<EOL><DEDENT>if self.bypass_list_management is not None:<EOL><INDENT>mail_settings[<EOL>"<STR_LIT>"] = self.bypass_list_management.get()<EOL><DEDENT>if self.footer_settings is not None:<EOL><INDENT>mail_settings["<STR_LIT>"] = self.footer_settings.get()<EOL><DEDENT>if self.sandbox_mode is not None:<EOL><INDENT>mail_settings["<STR_LIT>"] = self.sandbox_mode.get()<EOL><DEDENT>if self.spam_check is not None:<EOL><INDENT>mail_settings["<STR_LIT>"] = self.spam_check.get()<EOL><DEDENT>return mail_settings<EOL>
Get a JSON-ready representation of this MailSettings.

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