ttn-0.2.0.0: Things Tracker Network JSON Types

Safe HaskellNone
LanguageHaskell2010

Data.TTN.Types

Contents

Documentation

data TTNZonedTime Source #

Constructors

TTNZonedTime 

Fields

Instances
Eq TTNZonedTime Source # 
Instance details

Defined in Data.TTN.Types

Show TTNZonedTime Source # 
Instance details

Defined in Data.TTN.Types

Generic TTNZonedTime Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep TTNZonedTime :: Type -> Type #

ToJSON TTNZonedTime Source # 
Instance details

Defined in Data.TTN.Types

FromJSON TTNZonedTime Source # 
Instance details

Defined in Data.TTN.Types

type Rep TTNZonedTime Source # 
Instance details

Defined in Data.TTN.Types

type Rep TTNZonedTime = D1 (MetaData "TTNZonedTime" "Data.TTN.Types" "ttn-0.2.0.0-6dC9pKep9VHFer2dVOH7iD" False) (C1 (MetaCons "TTNZonedTime" PrefixI True) (S1 (MetaSel (Just "unwrap") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 ZonedTime)))

data Config Source #

Instances
Eq Config Source # 
Instance details

Defined in Data.TTN.Types

Methods

(==) :: Config -> Config -> Bool #

(/=) :: Config -> Config -> Bool #

Show Config Source # 
Instance details

Defined in Data.TTN.Types

Generic Config Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep Config :: Type -> Type #

Methods

from :: Config -> Rep Config x #

to :: Rep Config x -> Config #

ToJSON Config Source # 
Instance details

Defined in Data.TTN.Types

FromJSON Config Source # 
Instance details

Defined in Data.TTN.Types

type Rep Config Source # 
Instance details

Defined in Data.TTN.Types

data GatewaysElt Source #

Instances
Eq GatewaysElt Source # 
Instance details

Defined in Data.TTN.Types

Show GatewaysElt Source # 
Instance details

Defined in Data.TTN.Types

Generic GatewaysElt Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep GatewaysElt :: Type -> Type #

ToJSON GatewaysElt Source # 
Instance details

Defined in Data.TTN.Types

FromJSON GatewaysElt Source # 
Instance details

Defined in Data.TTN.Types

type Rep GatewaysElt Source # 
Instance details

Defined in Data.TTN.Types

type Rep GatewaysElt = D1 (MetaData "GatewaysElt" "Data.TTN.Types" "ttn-0.2.0.0-6dC9pKep9VHFer2dVOH7iD" False) (C1 (MetaCons "GatewaysElt" PrefixI True) ((((S1 (MetaSel (Just "gatewaysEltGtwId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "gatewaysEltGtwTrusted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "gatewaysEltTimestamp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Integer)) :*: S1 (MetaSel (Just "gatewaysEltFineTimestamp") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)))) :*: ((S1 (MetaSel (Just "gatewaysEltFineTimestampEncrypted") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "gatewaysEltTime") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe TTNZonedTime))) :*: (S1 (MetaSel (Just "gatewaysEltAntenna") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "gatewaysEltChannel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)))) :*: (((S1 (MetaSel (Just "gatewaysEltRSSI") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double) :*: S1 (MetaSel (Just "gatewaysEltSNR") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double)) :*: (S1 (MetaSel (Just "gatewaysEltRFChain") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int) :*: S1 (MetaSel (Just "gatewaysEltLatitude") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Double)))) :*: ((S1 (MetaSel (Just "gatewaysEltLongitude") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Double)) :*: S1 (MetaSel (Just "gatewaysEltAltitude") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int))) :*: (S1 (MetaSel (Just "gatewaysEltAccuracy") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "gatewaysEltSource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text)))))))

data Metadata Source #

Instances
Eq Metadata Source # 
Instance details

Defined in Data.TTN.Types

Show Metadata Source # 
Instance details

Defined in Data.TTN.Types

Generic Metadata Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep Metadata :: Type -> Type #

Methods

from :: Metadata -> Rep Metadata x #

to :: Rep Metadata x -> Metadata #

ToJSON Metadata Source # 
Instance details

Defined in Data.TTN.Types

FromJSON Metadata Source # 
Instance details

Defined in Data.TTN.Types

type Rep Metadata Source # 
Instance details

Defined in Data.TTN.Types

data Message Source #

Constructors

Message 
Instances
Eq Message Source # 
Instance details

Defined in Data.TTN.Types

Methods

(==) :: Message -> Message -> Bool #

(/=) :: Message -> Message -> Bool #

Show Message Source # 
Instance details

Defined in Data.TTN.Types

Generic Message Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep Message :: Type -> Type #

Methods

from :: Message -> Rep Message x #

to :: Rep Message x -> Message #

ToJSON Message Source # 
Instance details

Defined in Data.TTN.Types

FromJSON Message Source # 
Instance details

Defined in Data.TTN.Types

type Rep Message Source # 
Instance details

Defined in Data.TTN.Types

type Rep Message = D1 (MetaData "Message" "Data.TTN.Types" "ttn-0.2.0.0-6dC9pKep9VHFer2dVOH7iD" False) (C1 (MetaCons "Message" PrefixI True) (S1 (MetaSel (Just "messageDevId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "messageAppId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "messagePort") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double))))

data Uplink Source #

data Schedule Source #

Instances
Eq Schedule Source # 
Instance details

Defined in Data.TTN.Types

Show Schedule Source # 
Instance details

Defined in Data.TTN.Types

ToJSON Schedule Source # 
Instance details

Defined in Data.TTN.Types

FromJSON Schedule Source # 
Instance details

Defined in Data.TTN.Types

data Downlink Source #

data Error Source #

Constructors

Error 

Fields

Instances
Show Error Source # 
Instance details

Defined in Data.TTN.Types

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

ToJSON Error Source # 
Instance details

Defined in Data.TTN.Types

FromJSON Error Source # 
Instance details

Defined in Data.TTN.Types

data EventType Source #

Instances
Eq EventType Source # 
Instance details

Defined in Data.TTN.Types

Ord EventType Source # 
Instance details

Defined in Data.TTN.Types

Show EventType Source # 
Instance details

Defined in Data.TTN.Types

Generic EventType Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep EventType :: Type -> Type #

ToJSON EventType Source # 
Instance details

Defined in Data.TTN.Types

FromJSON EventType Source # 
Instance details

Defined in Data.TTN.Types

type Rep EventType Source # 
Instance details

Defined in Data.TTN.Types

type Rep EventType = D1 (MetaData "EventType" "Data.TTN.Types" "ttn-0.2.0.0-6dC9pKep9VHFer2dVOH7iD" False) (((C1 (MetaCons "Up" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Down" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "DownAcked" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "DownSent" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DownScheduled" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "Activation" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Create" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Update" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Delete" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Unknown" PrefixI False) (U1 :: Type -> Type)))))

data Event Source #

Instances
Eq Event Source # 
Instance details

Defined in Data.TTN.Types

Methods

(==) :: Event -> Event -> Bool #

(/=) :: Event -> Event -> Bool #

Show Event Source # 
Instance details

Defined in Data.TTN.Types

Methods

showsPrec :: Int -> Event -> ShowS #

show :: Event -> String #

showList :: [Event] -> ShowS #

Generic Event Source # 
Instance details

Defined in Data.TTN.Types

Associated Types

type Rep Event :: Type -> Type #

Methods

from :: Event -> Rep Event x #

to :: Rep Event x -> Event #

ToJSON Event Source # 
Instance details

Defined in Data.TTN.Types

FromJSON Event Source # 
Instance details

Defined in Data.TTN.Types

type Rep Event Source # 
Instance details

Defined in Data.TTN.Types

Orphan instances

Eq ZonedTime Source # 
Instance details