EVECelery.tasks.ESI.Location.Models.get_characters_character_id_online_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#

GetCharactersCharacterIdOnlineOk

Headers200_get_characters_character_id_online

Headers for response code 200

Response200_get_characters_character_id_online

Object describing the character's online status

class EVECelery.tasks.ESI.Location.Models.get_characters_character_id_online_200.GetCharactersCharacterIdOnlineOk#

Bases: pydantic.BaseModel

last_login: datetime.datetime | None#
last_logout: datetime.datetime | None#
logins: int | None#
online: bool#
class EVECelery.tasks.ESI.Location.Models.get_characters_character_id_online_200.Headers200_get_characters_character_id_online#

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.Location.Models.get_characters_character_id_online_200.Response200_get_characters_character_id_online#

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

Object describing the character’s online status

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

Example responses from ESI:

{
  "last_login": "2017-01-02T03:04:05Z",
  "last_logout": "2017-01-02T04:05:06Z",
  "logins": 9001,
  "online": true
}
headers: Headers200_get_characters_character_id_online#
body: GetCharactersCharacterIdOnlineOk#