Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
RecurlyClient.Types.ItemMini
Description
Contains the types generated from the schema ItemMini
Synopsis
- data ItemMini = ItemMini {}
- mkItemMini :: ItemMini
- data ItemMiniState
Documentation
Defines the object schema located at components.schemas.ItemMini
in the specification.
Just the important parts.
Constructors
ItemMini | |
Fields
|
mkItemMini :: ItemMini Source #
Create a new ItemMini
with all required fields.
data ItemMiniState Source #
Defines the enum schema located at components.schemas.ItemMini.properties.state
in the specification.
The current state of the item.
Constructors
ItemMiniStateOther Value | This case is used if the value encountered during decoding does not match any of the provided cases in the specification. |
ItemMiniStateTyped Text | This constructor can be used to send values to the server which are not present in the specification yet. |
ItemMiniStateEnumActive | Represents the JSON value |
ItemMiniStateEnumInactive | Represents the JSON value |
Instances
FromJSON ItemMiniState Source # | |
Defined in RecurlyClient.Types.ItemMini Methods parseJSON :: Value -> Parser ItemMiniState # parseJSONList :: Value -> Parser [ItemMiniState] # | |
ToJSON ItemMiniState Source # | |
Defined in RecurlyClient.Types.ItemMini Methods toJSON :: ItemMiniState -> Value # toEncoding :: ItemMiniState -> Encoding # toJSONList :: [ItemMiniState] -> Value # toEncodingList :: [ItemMiniState] -> Encoding # | |
Show ItemMiniState Source # | |
Defined in RecurlyClient.Types.ItemMini Methods showsPrec :: Int -> ItemMiniState -> ShowS # show :: ItemMiniState -> String # showList :: [ItemMiniState] -> ShowS # | |
Eq ItemMiniState Source # | |
Defined in RecurlyClient.Types.ItemMini Methods (==) :: ItemMiniState -> ItemMiniState -> Bool # (/=) :: ItemMiniState -> ItemMiniState -> Bool # |