Number of events that were removed by the truncation.
| 2144 | # Experimental: this type is part of an experimental API and may change or be removed. |
| 2145 | @dataclass |
| 2146 | class HistoryTruncateResult: |
| 2147 | """Number of events that were removed by the truncation.""" |
| 2148 | |
| 2149 | events_removed: int |
| 2150 | """Number of events that were removed""" |
| 2151 | |
| 2152 | @staticmethod |
| 2153 | def from_dict(obj: Any) -> 'HistoryTruncateResult': |
| 2154 | assert isinstance(obj, dict) |
| 2155 | events_removed = from_int(obj.get("eventsRemoved")) |
| 2156 | return HistoryTruncateResult(events_removed) |
| 2157 | |
| 2158 | def to_dict(self) -> dict: |
| 2159 | result: dict = {} |
| 2160 | result["eventsRemoved"] = from_int(self.events_removed) |
| 2161 | return result |
| 2162 | |
| 2163 | class HMACAuthInfoType(Enum): |
| 2164 | HMAC = "hmac" |
no outgoing calls
no test coverage detected
searching dependent graphs…