EVECelery.tasks.ESI.Character.Models.post_characters_affiliation_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#

PostCharactersAffiliationOkItem

PostCharactersAffiliationOk

Headers200_post_characters_affiliation

Headers for response code 200

Response200_post_characters_affiliation

Character corporation, alliance and faction IDs

class EVECelery.tasks.ESI.Character.Models.post_characters_affiliation_200.PostCharactersAffiliationOkItem#

Bases: pydantic.BaseModel

alliance_id: int | None#
character_id: int#
corporation_id: int#
faction_id: int | None#
class EVECelery.tasks.ESI.Character.Models.post_characters_affiliation_200.PostCharactersAffiliationOk#

Bases: pydantic.BaseModel

__root__: List[PostCharactersAffiliationOkItem]#
class EVECelery.tasks.ESI.Character.Models.post_characters_affiliation_200.Headers200_post_characters_affiliation#

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

Headers for response code 200

class EVECelery.tasks.ESI.Character.Models.post_characters_affiliation_200.Response200_post_characters_affiliation#

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

Character corporation, alliance and faction IDs

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

Example responses from ESI:

[
  {
    "alliance_id": 434243723,
    "character_id": 95538921,
    "corporation_id": 109299958
  }
]
headers: Headers200_post_characters_affiliation#
body: PostCharactersAffiliationOk#