def get(self):
spam_check = {}<EOL>if self.enable is not None:<EOL><INDENT>spam_check["<STR_LIT>"] = self.enable<EOL><DEDENT>if self.threshold is not None:<EOL><INDENT>spam_check["<STR_LIT>"] = self.threshold.get()<EOL><DEDENT>if self.post_to_url is not None:<EOL><INDENT>spam_check["<STR_LIT>"] = self.post_to_url.get()<EOL><DEDENT>return spam_check<EOL>
Get a JSON-ready representation of this SpamCheck.

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