Base.
from_api
from_api() -> T
Creates object from entity passed by client class, which represents it as dictionary.
Parameters
| name | type | description |
|---|---|---|
| cls: type[T] | type[T] | None |
| entity: dict[str, Any] | dict[str, Any] | None |
from_api() -> T
Creates object from entity passed by client class, which represents it as dictionary.
| name | type | description |
|---|---|---|
| cls: type[T] | type[T] | None |
| entity: dict[str, Any] | dict[str, Any] | None |