(obj: Any)
| 699 | |
| 700 | @staticmethod |
| 701 | def from_dict(obj: Any) -> ModelBilling: |
| 702 | assert isinstance(obj, dict) |
| 703 | multiplier = obj.get("multiplier") |
| 704 | tp = obj.get("tokenPrices") |
| 705 | token_prices = ModelBillingTokenPrices.from_dict(tp) if tp is not None else None |
| 706 | return ModelBilling( |
| 707 | multiplier=float(multiplier) if multiplier is not None else None, |
| 708 | token_prices=token_prices, |
| 709 | ) |
| 710 | |
| 711 | def to_dict(self) -> dict: |
| 712 | result: dict = {} |
nothing calls this directly
no test coverage detected