(self, *, data: Dict[str, Any])
| 119 | ) |
| 120 | |
| 121 | def __init__(self, *, data: Dict[str, Any]): |
| 122 | self._steam_id = data.get("steam_id") |
| 123 | self._username = data.get("username") |
| 124 | self._flags = data.get("flags") |
| 125 | self._avatar = data.get("avatar") |
| 126 | self._background_url = data.get("background_url") |
| 127 | self._email = data.get("email") |
| 128 | self._balance = data.get("balance") |
| 129 | self._pending_balance = data.get("pending_balance") |
| 130 | self._stall_public = data.get("stall_public") |
| 131 | self._away = data.get("away") |
| 132 | self._trade_token = data.get("trade_token") |
| 133 | self._payment_accounts = data.get("payment_accounts") |
| 134 | self._api_key = data.get("api_key", "") |
| 135 | self._statistics = data.get("statistics") |
| 136 | self._preferences = data.get("preferences") |
| 137 | self._know_your_customer = data.get("know_your_customer") |
| 138 | self._extension_setup_at = data.get("extension_setup_at") |
| 139 | self._firebase_messaging = data.get("firebase_messaging") |
| 140 | self._stripe_connect = data.get("stripe_connect") |
| 141 | self._has_valid_steam_api_key = data.get("has_valid_steam_api_key") |
| 142 | self._obfuscated_id = data.get("obfuscated_id") |
| 143 | self._online = data.get("online") |
| 144 | self._fee = data.get("fee") |
| 145 | self._withdraw_fee = data.get("withdraw_fee") |
| 146 | self._subscriptions = data.get("subscriptions") |
| 147 | self._has_2fa = data.get("has_2fa") |
| 148 | |
| 149 | @property |
| 150 | def steam_id(self) -> Optional[str]: |
nothing calls this directly
no outgoing calls
no test coverage detected