EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200#

A model definition module returned by an ESI task.

This module was automatically generated from Jinja templates with the codegen tool included in the root of this repo. You should not directly modify this module but instead modify the template ‘codegen/Templates/ESI_Models.py’.

Module Contents#

Classes#

Attacker

Item1

Item

Position

Victim

GetKillmailsKillmailIdKillmailHashOk

Headers200_get_killmails_killmail_id_killmail_hash

Headers for response code 200

Response200_get_killmails_killmail_id_killmail_hash

A killmail

class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Attacker#

Bases: pydantic.BaseModel

alliance_id: int | None#
character_id: int | None#
corporation_id: int | None#
damage_done: int#
faction_id: int | None#
final_blow: bool#
security_status: float#
ship_type_id: int | None#
weapon_type_id: int | None#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Item1#

Bases: pydantic.BaseModel

flag: int#
item_type_id: int#
quantity_destroyed: int | None#
quantity_dropped: int | None#
singleton: int#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Item#

Bases: pydantic.BaseModel

flag: int#
item_type_id: int#
items: List[Item1] | None#
quantity_destroyed: int | None#
quantity_dropped: int | None#
singleton: int#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Position#

Bases: pydantic.BaseModel

x: float#
y: float#
z: float#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Victim#

Bases: pydantic.BaseModel

alliance_id: int | None#
character_id: int | None#
corporation_id: int | None#
damage_taken: int#
faction_id: int | None#
items: List[Item] | None#
position: Position | None#
ship_type_id: int#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.GetKillmailsKillmailIdKillmailHashOk#

Bases: pydantic.BaseModel

attackers: List[Attacker]#
killmail_id: int#
killmail_time: datetime.datetime#
moon_id: int | None#
solar_system_id: int#
victim: Victim#
war_id: int | None#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Headers200_get_killmails_killmail_id_killmail_hash#

Bases: EVECelery.tasks.BaseTasks.Models.ModelsBase.ModelBaseEVECelery

Headers for response code 200

Cache_Control: str | None#
ETag: str | None#
Expires: str | None#
Last_Modified: str | None#
class EVECelery.tasks.ESI.Killmails.Models.get_killmails_killmail_id_killmail_hash_200.Response200_get_killmails_killmail_id_killmail_hash#

Bases: EVECelery.tasks.BaseTasks.Models.ModelsCached.ModelCachedResponse

A killmail

Response for code 200. This model contains the response body and headers returned from ESI.

Example responses from ESI:

{
  "attackers": [
    {
      "character_id": 95810944,
      "corporation_id": 1000179,
      "damage_done": 5745,
      "faction_id": 500003,
      "final_blow": true,
      "security_status": -0.3,
      "ship_type_id": 17841,
      "weapon_type_id": 3074
    }
  ],
  "killmail_id": 56733821,
  "killmail_time": "2016-10-22T17:13:36Z",
  "solar_system_id": 30002976,
  "victim": {
    "alliance_id": 621338554,
    "character_id": 92796241,
    "corporation_id": 841363671,
    "damage_taken": 5745,
    "items": [
      {
        "flag": 20,
        "item_type_id": 5973,
        "quantity_dropped": 1,
        "singleton": 0
      }
    ],
    "position": {
      "x": 452186600569.4748,
      "y": 146704961490.90222,
      "z": 109514596532.54477
    },
    "ship_type_id": 17812
  }
}
headers: Headers200_get_killmails_killmail_id_killmail_hash#
body: GetKillmailsKillmailIdKillmailHashOk#