(Object raw)
| 11 | public Map<String, Object> info; |
| 12 | |
| 13 | @SuppressWarnings("unchecked") |
| 14 | public LastPrice(Object raw) { |
| 15 | Map<String, Object> data = TypeHelper.toMap(raw); |
| 16 | this.symbol = TypeHelper.safeString(data, "symbol"); |
| 17 | this.timestamp = TypeHelper.safeInteger(data, "timestamp"); |
| 18 | this.datetime = TypeHelper.safeString(data, "datetime"); |
| 19 | this.price = TypeHelper.safeFloat(data, "price"); |
| 20 | this.side = TypeHelper.safeString(data, "side"); |
| 21 | this.info = TypeHelper.getInfo(data); |
| 22 | } |
| 23 | } |
nothing calls this directly
no test coverage detected