Return a JSON representation of the data.
(self)
| 97 | self.__setattr__(key, data[key]) |
| 98 | |
| 99 | def to_json(self): |
| 100 | """Return a JSON representation of the data.""" |
| 101 | return { |
| 102 | "repository": self.repository, |
| 103 | "reason": self.reason, |
| 104 | "link": self.link, |
| 105 | "removal_type": self.removal_type, |
| 106 | "acknowledged": self.acknowledged, |
| 107 | } |
| 108 | |
| 109 | |
| 110 | @dataclass |
no outgoing calls