Update
tibiawikisql.models.update
¶
Classes:
| Name | Description |
|---|---|
Update |
Represents a game update. |
Update
pydantic-model
¶
Bases: WikiEntry, WithVersion, RowModel
Represents a game update.
Show JSON schema:
{
"description": "Represents a game update.",
"properties": {
"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"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Name"
},
"news_id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "News Id"
},
"release_date": {
"format": "date",
"title": "Release Date",
"type": "string"
},
"type_primary": {
"title": "Type Primary",
"type": "string"
},
"type_secondary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Type Secondary"
},
"previous": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Previous"
},
"next": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Next"
},
"summary": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Summary"
},
"changes": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Changes"
}
},
"required": [
"version",
"article_id",
"title",
"timestamp",
"name",
"news_id",
"release_date",
"type_primary",
"type_secondary",
"previous",
"next",
"summary",
"changes"
],
"title": "Update",
"type": "object"
}
Fields:
-
version(str | None) -
article_id(int) -
title(str) -
timestamp(datetime) -
name(str | None) -
news_id(int | None) -
release_date(date) -
type_primary(str) -
type_secondary(str | None) -
previous(str | None) -
next(str | None) -
summary(str | None) -
changes(str | None)