| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
TD.Data.AuctionState
Synopsis
- data AuctionState
- = AuctionStateActive {
- start_date :: Maybe Int
- end_date :: Maybe Int
- min_bid :: Maybe Int
- bid_levels :: Maybe [AuctionBid]
- top_bidder_user_ids :: Maybe [Int]
- rounds :: Maybe [AuctionRound]
- current_round_end_date :: Maybe Int
- current_round_number :: Maybe Int
- total_round_count :: Maybe Int
- distributed_item_count :: Maybe Int
- left_item_count :: Maybe Int
- acquired_item_count :: Maybe Int
- user_bid :: Maybe UserAuctionBid
- | AuctionStateFinished { }
- = AuctionStateActive {
Documentation
data AuctionState Source #
Describes state of an auction
Constructors
| AuctionStateActive | Contains information about an ongoing or scheduled auction |
Fields
| |
| AuctionStateFinished | Contains information about a finished auction |
Fields
| |
Instances
| FromJSON AuctionState Source # | |
Defined in TD.Data.AuctionState | |
| Show AuctionState Source # | |
Defined in TD.Data.AuctionState Methods showsPrec :: Int -> AuctionState -> ShowS # show :: AuctionState -> String # showList :: [AuctionState] -> ShowS # | |
| Eq AuctionState Source # | |
Defined in TD.Data.AuctionState | |
| ShortShow AuctionState Source # | |
Defined in TD.Data.AuctionState Methods shortShow :: AuctionState -> String Source # | |