Charm
tibiawikisql.models.charm
¶
Classes:
| Name | Description |
|---|---|
Charm |
Represents a charm. |
Charm
pydantic-model
¶
Bases: WikiEntry, WithStatus, WithVersion, WithImage, RowModel
Represents a charm.
Show JSON schema:
{
"description": "Represents a charm.",
"properties": {
"image": {
"anyOf": [
{
"format": "binary",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Image"
},
"version": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Version"
},
"status": {
"title": "Status",
"type": "string"
},
"article_id": {
"title": "Article Id",
"type": "integer"
},
"title": {
"title": "Title",
"type": "string"
},
"timestamp": {
"format": "date-time",
"title": "Timestamp",
"type": "string"
},
"name": {
"title": "Name",
"type": "string"
},
"type": {
"title": "Type",
"type": "string"
},
"effect": {
"title": "Effect",
"type": "string"
},
"cost_level_1": {
"title": "Cost Level 1",
"type": "integer"
},
"cost_level_2": {
"title": "Cost Level 2",
"type": "integer"
},
"cost_level_3": {
"title": "Cost Level 3",
"type": "integer"
}
},
"required": [
"version",
"status",
"article_id",
"title",
"timestamp",
"name",
"type",
"effect",
"cost_level_1",
"cost_level_2",
"cost_level_3"
],
"title": "Charm",
"type": "object"
}
Fields:
-
image(bytes | None) -
version(str | None) -
status(str) -
article_id(int) -
title(str) -
timestamp(datetime) -
name(str) -
type(str) -
effect(str) -
cost_level_1(int) -
cost_level_2(int) -
cost_level_3(int)