House
tibiawikisql.models.house
¶
Classes:
| Name | Description |
|---|---|
House |
Represents a house or guildhall. |
House
pydantic-model
¶
Bases: WikiEntry, WithVersion, WithStatus, RowModel
Represents a house or guildhall.
Show JSON schema:
{
"description": "Represents a house or guildhall.",
"properties": {
"status": {
"title": "Status",
"type": "string"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"article_id": {
"title": "Article Id",
"type": "integer"
},
"title": {
"title": "Title",
"type": "string"
},
"timestamp": {
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"house_id": {
"title": "House Id",
"type": "integer"
},
"name": {
"title": "Name",
"type": "string"
},
"is_guildhall": {
"title": "Is Guildhall",
"type": "boolean"
},
"city": {
"title": "City",
"type": "string"
},
"street": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Street"
},
"location": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Location"
},
"beds": {
"title": "Beds",
"type": "integer"
},
"rent": {
"title": "Rent",
"type": "integer"
},
"size": {
"title": "Size",
"type": "integer"
},
"rooms": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Rooms"
},
"floors": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Floors"
},
"x": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "X"
},
"y": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Y"
},
"z": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Z"
}
},
"required": [
"status",
"version",
"article_id",
"title",
"timestamp",
"house_id",
"name",
"is_guildhall",
"city",
"street",
"location",
"beds",
"rent",
"size",
"rooms",
"floors",
"x",
"y",
"z"
],
"title": "House",
"type": "object"
}
Fields:
-
status(str) -
version(str | None) -
article_id(int) -
title(str) -
timestamp(datetime) -
house_id(int) -
name(str) -
is_guildhall(bool) -
city(str) -
street(str | None) -
location(str | None) -
beds(int) -
rent(int) -
size(int) -
rooms(int | None) -
floors(int | None) -
x(int | None) -
y(int | None) -
z(int | None)