petstore_api.components.schema.money
type: schemas.Schema
| Input Type | Return Type | Notes |
|---|---|---|
| MoneyDictInput, MoneyDict | MoneyDict |
type: typing.TypedDict
| Key | Type | Description | Notes |
|---|---|---|---|
| amount | str | value must be int or float numeric | |
| currency | typing.Literal["eur", "usd"] |
base class: schemas.immutabledict[str, schemas.OUTPUT_BASE_TYPES]
| Keyword Argument | Type | Description | Notes |
|---|---|---|---|
| amount | str | value must be int or float numeric | |
| currency | typing.Literal["eur", "usd"] |
| Property | Type | Description | Notes |
|---|---|---|---|
| amount | str | value must be int or float numeric | |
| currency | typing.Literal["eur", "usd"] |
| Method | Input Type | Return Type | Notes |
|---|---|---|---|
| from_dict_ | MoneyDictInput, MoneyDict | MoneyDict | a constructor |