Safe Haskell | None |
---|---|
Language | Haskell2010 |
Blockfrost.Types.Common
Description
Types for common servics
Synopsis
- data URLVersion = URLVersion {}
- newtype Healthy = Healthy {}
- newtype ServerTime = ServerTime {}
- data Metric = Metric {}
Documentation
data URLVersion Source #
Root endpoint reply
Constructors
URLVersion | |
Fields |
Instances
Health endpoint reply
Instances
FromJSON Healthy Source # | |||||
Defined in Blockfrost.Types.Common | |||||
ToJSON Healthy Source # | |||||
Generic Healthy Source # | |||||
Defined in Blockfrost.Types.Common Associated Types
| |||||
Show Healthy Source # | |||||
Eq Healthy Source # | |||||
ToSample Healthy Source # | |||||
type Rep Healthy Source # | |||||
Defined in Blockfrost.Types.Common |
newtype ServerTime Source #
Health clock endpoint reply
Constructors
ServerTime | |
Fields |
Instances
FromJSON ServerTime Source # | |||||
Defined in Blockfrost.Types.Common | |||||
ToJSON ServerTime Source # | |||||
Defined in Blockfrost.Types.Common Methods toJSON :: ServerTime -> Value # toEncoding :: ServerTime -> Encoding # toJSONList :: [ServerTime] -> Value # toEncodingList :: [ServerTime] -> Encoding # omitField :: ServerTime -> Bool # | |||||
Generic ServerTime Source # | |||||
Defined in Blockfrost.Types.Common Associated Types
| |||||
Show ServerTime Source # | |||||
Defined in Blockfrost.Types.Common Methods showsPrec :: Int -> ServerTime -> ShowS # show :: ServerTime -> String # showList :: [ServerTime] -> ShowS # | |||||
Eq ServerTime Source # | |||||
Defined in Blockfrost.Types.Common | |||||
ToSample ServerTime Source # | |||||
Defined in Blockfrost.Types.Common Methods toSamples :: Proxy ServerTime -> [(Text, ServerTime)] # | |||||
type Rep ServerTime Source # | |||||
Defined in Blockfrost.Types.Common type Rep ServerTime = D1 ('MetaData "ServerTime" "Blockfrost.Types.Common" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'True) (C1 ('MetaCons "ServerTime" 'PrefixI 'True) (S1 ('MetaSel ('Just "serverTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime))) |
Metrics response
Constructors
Metric | |
Fields |
Instances
FromJSON Metric Source # | |||||
Defined in Blockfrost.Types.Common | |||||
ToJSON Metric Source # | |||||
Generic Metric Source # | |||||
Defined in Blockfrost.Types.Common Associated Types
| |||||
Show Metric Source # | |||||
Eq Metric Source # | |||||
ToSample Metric Source # | |||||
FromJSON (Text, Metric) Source # | |||||
ToJSON (Text, Metric) Source # | |||||
ToSample (Text, Metric) Source # | |||||
type Rep Metric Source # | |||||
Defined in Blockfrost.Types.Common type Rep Metric = D1 ('MetaData "Metric" "Blockfrost.Types.Common" "blockfrost-api-0.13.0.0-5VduFUrhiBL3cGPZJdyInJ" 'False) (C1 ('MetaCons "Metric" 'PrefixI 'True) (S1 ('MetaSel ('Just "_metricTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 POSIXTime) :*: S1 ('MetaSel ('Just "_metricCalls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Integer))) |