EVECelery.tasks.ESI.Sovereignty.Models.get_sovereignty_structures_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#

GetSovereigntyStructuresOkItem

GetSovereigntyStructuresOk

Headers200_get_sovereignty_structures

Headers for response code 200

Response200_get_sovereignty_structures

A list of sovereignty structures

class EVECelery.tasks.ESI.Sovereignty.Models.get_sovereignty_structures_200.GetSovereigntyStructuresOkItem#

Bases: pydantic.BaseModel

alliance_id: int#
solar_system_id: int#
structure_id: int#
structure_type_id: int#
vulnerability_occupancy_level: float | None#
vulnerable_end_time: datetime.datetime | None#
vulnerable_start_time: datetime.datetime | None#
class EVECelery.tasks.ESI.Sovereignty.Models.get_sovereignty_structures_200.GetSovereigntyStructuresOk#

Bases: pydantic.BaseModel

__root__: List[GetSovereigntyStructuresOkItem]#
class EVECelery.tasks.ESI.Sovereignty.Models.get_sovereignty_structures_200.Headers200_get_sovereignty_structures#

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.Sovereignty.Models.get_sovereignty_structures_200.Response200_get_sovereignty_structures#

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

A list of sovereignty structures

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

Example responses from ESI:

[
  {
    "alliance_id": 498125261,
    "solar_system_id": 30000570,
    "structure_id": 1018253388776,
    "structure_type_id": 32226,
    "vulnerability_occupancy_level": 2,
    "vulnerable_end_time": "2016-10-29T05:30:00Z",
    "vulnerable_start_time": "2016-10-28T20:30:00Z"
  }
]
headers: Headers200_get_sovereignty_structures#
body: GetSovereigntyStructuresOk#