Attributes
Version: v3.0.1
Supporting model
A request/response or nested model — not a stored DynamoDB entity.
Overview
Attributes Model
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
AuthenticatedMembersOnly | bool | ✅ | — | — |
Category | str | ✅ | — | — |
Description | List[str] | ✅ | — | — |
Duration | int | ✅ | — | — |
IsBrandNew | bool | ✅ | — | — |
IsClassified | bool | ✅ | — | — |
PaymentMethods | List[int] | ✅ | — | — |
Pickup | int | ✅ | — | — |
PromotionId | int | ✅ | — | — |
SendPaymentInstructions | bool | ✅ | — | — |
ShippingOptions | List[ShippingOption] | ✅ | — | — |
Format | Format (Auction, BuyItNow) | ✅ | — | Format enum for TradeMe listing types |
StartPrice | float | ❌ | — | — |
Subtitle | str | ❌ | — | — |
Title | str | ✅ | — | — |
BuyNowPrice | float | ❌ | — | — |
ReservePrice | float | ❌ | — | — |
PhotoIds | List[int] | ❌ | — | — |
Quantity | int | ❌ | 1 | — |
Embedded models
Models embedded in the fields above — shown inline; they have no separate page.
ShippingOption — v3.0.0
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
Type | int | ✅ | — | — |
Method | str | ❌ | — | — |
Price | float | ❌ | — | — |
Change history
v3.0.0· 2025-05-17 · Cian (shared account) · FieldPricetype changed: Optional[Decimal] → Optional[float] (breaking). (8cff53025)v2.0.0· 2025-03-23 · Cian (shared account) · FieldMethodtype changed: str → Optional[str] (breaking).; FieldMethodbecame optional. (c4c7868f1)v1.1.0· 2025-03-20 · Cian (shared account) · Added required fieldMethod.; Added optional fieldPrice. (89d748025)v1.0.0· 2025-03-16 · Cian (shared account) · Initial version. (feca668a3)
APIs / Triggers
| Trigger | Endpoint / Source | Detail | Handler |
|---|---|---|---|
| Event | EventBridge | PartImagesProcessed, VehicleImagesProcessed | src/trade_me_auto_uploader.py |
Change history
v3.0.1 · 2026-03-16 · Cian (shared account) · 99d7ef9d3
Update TradeMe models to use None for PhotoIds, enhance image upload functionality with require_all_images_if_present flag, and refactor image handling in update and post processes for improved error handling and clarity.
- Field
PhotoIdsdefault changed: [] → None.
v3.0.0 · 2025-09-25 · Olaniyi Ajayi · ab4817724
fx
- Field
Formatbecame required (breaking). - Field
Formatdefault changed: Format.AUCTION → None. - Field
StartPricetype changed: Optional[str] → Optional[float] (breaking).
v2.0.0 · 2025-09-24 · Olaniyi Ajayi · 1ac720aac
init
- Added optional field
Format. - Added optional field
Quantity. - Field
StartPricetype changed: float → Optional[str] (breaking). - Field
StartPricebecame optional.
v1.0.0 · 2025-03-16 · Cian (shared account) · feca668a3
models
- Initial version.
Generated from
dismantly-backend/Microservices/TradeMe/dependencies/models.py. Do not edit by hand.