def get(self):
stats = {}<EOL>if self.start_date is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.start_date<EOL><DEDENT>if self.end_date is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.end_date<EOL><DEDENT>if self.aggregated_by is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.aggregated_by<EOL><DEDENT>if self.sort_by_metric is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.sort_by_metric<EOL><DEDENT>if self.sort_by_direction is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.sort_by_direction<EOL><DEDENT>if self.limit is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.limit<EOL><DEDENT>if self.offset is not None:<EOL><INDENT>stats["<STR_LIT>"] = self.offset<EOL><DEDENT>return stats<EOL>
:return: response stats dict