EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_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#

ActiveTotalItem

LastWeekItem

YesterdayItem

Kills

ActiveTotalItem1

LastWeekItem1

YesterdayItem1

VictoryPoints

GetFwLeaderboardsOk

Headers200_get_fw_leaderboards

Headers for response code 200

Response200_get_fw_leaderboards

Corporation leaderboard of kills and victory points within faction warfare

class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.ActiveTotalItem#

Bases: pydantic.BaseModel

amount: int | None#
faction_id: int | None#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.LastWeekItem#

Bases: pydantic.BaseModel

amount: int | None#
faction_id: int | None#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.YesterdayItem#

Bases: pydantic.BaseModel

amount: int | None#
faction_id: int | None#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.Kills#

Bases: pydantic.BaseModel

active_total: List[ActiveTotalItem]#
last_week: List[LastWeekItem]#
yesterday: List[YesterdayItem]#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.ActiveTotalItem1#

Bases: pydantic.BaseModel

amount: int | None#
faction_id: int | None#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.LastWeekItem1#

Bases: pydantic.BaseModel

amount: int | None#
faction_id: int | None#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.YesterdayItem1#

Bases: pydantic.BaseModel

amount: int | None#
faction_id: int | None#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.VictoryPoints#

Bases: pydantic.BaseModel

active_total: List[ActiveTotalItem1]#
last_week: List[LastWeekItem1]#
yesterday: List[YesterdayItem1]#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.GetFwLeaderboardsOk#

Bases: pydantic.BaseModel

kills: Kills#
victory_points: VictoryPoints#
class EVECelery.tasks.ESI.FactionWarfare.Models.get_fw_leaderboards_200.Headers200_get_fw_leaderboards#

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.FactionWarfare.Models.get_fw_leaderboards_200.Response200_get_fw_leaderboards#

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

Corporation leaderboard of kills and victory points within faction warfare

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

Example responses from ESI:

{
  "kills": {
    "active_total": [
      {
        "amount": 832273,
        "faction_id": 500004
      },
      {
        "amount": 687915,
        "faction_id": 500001
      }
    ],
    "last_week": [
      {
        "amount": 730,
        "faction_id": 500001
      },
      {
        "amount": 671,
        "faction_id": 500004
      }
    ],
    "yesterday": [
      {
        "amount": 100,
        "faction_id": 500001
      },
      {
        "amount": 50,
        "faction_id": 500004
      }
    ]
  },
  "victory_points": {
    "active_total": [
      {
        "amount": 53130500,
        "faction_id": 500001
      },
      {
        "amount": 50964263,
        "faction_id": 500004
      }
    ],
    "last_week": [
      {
        "amount": 97360,
        "faction_id": 500001
      },
      {
        "amount": 84980,
        "faction_id": 500004
      }
    ],
    "yesterday": [
      {
        "amount": 5000,
        "faction_id": 500002
      },
      {
        "amount": 3500,
        "faction_id": 500003
      }
    ]
  }
}
headers: Headers200_get_fw_leaderboards#
body: GetFwLeaderboardsOk#