EVECelery.tasks.ESI.Contracts.Models.get_contracts_public_region_id_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#

GetContractsPublicRegionIdOkItem

GetContractsPublicRegionIdOk

Headers200_get_contracts_public_region_id

Headers for response code 200

Response200_get_contracts_public_region_id

A list of contracts

class EVECelery.tasks.ESI.Contracts.Models.get_contracts_public_region_id_200.GetContractsPublicRegionIdOkItem#

Bases: pydantic.BaseModel

buyout: float | None#
collateral: float | None#
contract_id: int#
date_expired: datetime.datetime#
date_issued: datetime.datetime#
days_to_complete: int | None#
end_location_id: int | None#
for_corporation: bool | None#
issuer_corporation_id: int#
issuer_id: int#
price: float | None#
reward: float | None#
start_location_id: int | None#
title: str | None#
type: Literal[unknown, item_exchange, auction, courier, loan]#
volume: float | None#
class EVECelery.tasks.ESI.Contracts.Models.get_contracts_public_region_id_200.GetContractsPublicRegionIdOk#

Bases: pydantic.BaseModel

__root__: List[GetContractsPublicRegionIdOkItem]#
class EVECelery.tasks.ESI.Contracts.Models.get_contracts_public_region_id_200.Headers200_get_contracts_public_region_id#

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#
X_Pages: int | None#
class EVECelery.tasks.ESI.Contracts.Models.get_contracts_public_region_id_200.Response200_get_contracts_public_region_id#

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

A list of contracts

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

Example responses from ESI:

[
  {
    "buyout": 10000000000.01,
    "contract_id": 1,
    "date_expired": "2017-06-13T13:12:32Z",
    "date_issued": "2017-06-06T13:12:32Z",
    "days_to_complete": 0,
    "end_location_id": 60014719,
    "for_corporation": true,
    "issuer_corporation_id": 456,
    "issuer_id": 123,
    "price": 1000000.01,
    "reward": 0.01,
    "start_location_id": 60014719,
    "type": "auction",
    "volume": 0.01
  }
]
headers: Headers200_get_contracts_public_region_id#
body: GetContractsPublicRegionIdOk#