| 124 | |
| 125 | |
| 126 | class UserPatchResponse(SCIMResponse): |
| 127 | user: User |
| 128 | |
| 129 | @property |
| 130 | def user(self) -> User: |
| 131 | return User(**self.snake_cased_body) |
| 132 | |
| 133 | def __init__(self, underlying: SCIMResponse): |
| 134 | self.underlying = underlying |
| 135 | self.url = underlying.url |
| 136 | self.status_code = underlying.status_code |
| 137 | self.headers = underlying.headers |
| 138 | self.raw_body = underlying.raw_body |
| 139 | self.body = underlying.body |
| 140 | self._snake_cased_body = None |
| 141 | |
| 142 | |
| 143 | class UserUpdateResponse(SCIMResponse): |
no outgoing calls
no test coverage detected