EVECelery.tasks.ESI.Fittings.Models.get_characters_character_id_fittings_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#

Item

GetCharactersCharacterIdFittingsOkItem

GetCharactersCharacterIdFittingsOk

Headers200_get_characters_character_id_fittings

Headers for response code 200

Response200_get_characters_character_id_fittings

A list of fittings

class EVECelery.tasks.ESI.Fittings.Models.get_characters_character_id_fittings_200.Item#

Bases: pydantic.BaseModel

flag: Literal[Cargo, DroneBay, FighterBay, HiSlot0, HiSlot1, HiSlot2, HiSlot3, HiSlot4, HiSlot5, HiSlot6, HiSlot7, Invalid, LoSlot0, LoSlot1, LoSlot2, LoSlot3, LoSlot4, LoSlot5, LoSlot6, LoSlot7, MedSlot0, MedSlot1, MedSlot2, MedSlot3, MedSlot4, MedSlot5, MedSlot6, MedSlot7, RigSlot0, RigSlot1, RigSlot2, ServiceSlot0, ServiceSlot1, ServiceSlot2, ServiceSlot3, ServiceSlot4, ServiceSlot5, ServiceSlot6, ServiceSlot7, SubSystemSlot0, SubSystemSlot1, SubSystemSlot2, SubSystemSlot3]#
quantity: int#
type_id: int#
class EVECelery.tasks.ESI.Fittings.Models.get_characters_character_id_fittings_200.GetCharactersCharacterIdFittingsOkItem#

Bases: pydantic.BaseModel

description: str#
fitting_id: int#
items: List[Item]#
name: str#
ship_type_id: int#
class EVECelery.tasks.ESI.Fittings.Models.get_characters_character_id_fittings_200.GetCharactersCharacterIdFittingsOk#

Bases: pydantic.BaseModel

__root__: List[GetCharactersCharacterIdFittingsOkItem]#
class EVECelery.tasks.ESI.Fittings.Models.get_characters_character_id_fittings_200.Headers200_get_characters_character_id_fittings#

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.Fittings.Models.get_characters_character_id_fittings_200.Response200_get_characters_character_id_fittings#

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

A list of fittings

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

Example responses from ESI:

[
  {
    "description": "Awesome Vindi fitting",
    "fitting_id": 1,
    "items": [
      {
        "flag": "Cargo",
        "quantity": 1,
        "type_id": 1234
      }
    ],
    "name": "Best Vindicator",
    "ship_type_id": 123
  }
]
headers: Headers200_get_characters_character_id_fittings#
body: GetCharactersCharacterIdFittingsOk#