vflow-types-0.1: types for ingesting vflow data with aeson

Safe HaskellNone
LanguageHaskell2010

VFlow.Types.IpFix

Documentation

data IpFix Source #

Constructors

IpFix 
Instances
Eq IpFix Source # 
Instance details

Defined in VFlow.Types.IpFix

Methods

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

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

Show IpFix Source # 
Instance details

Defined in VFlow.Types.IpFix

Methods

showsPrec :: Int -> IpFix -> ShowS #

show :: IpFix -> String #

showList :: [IpFix] -> ShowS #

Generic IpFix Source # 
Instance details

Defined in VFlow.Types.IpFix

Associated Types

type Rep IpFix :: Type -> Type #

Methods

from :: IpFix -> Rep IpFix x #

to :: Rep IpFix x -> IpFix #

ToJSON IpFix Source # 
Instance details

Defined in VFlow.Types.IpFix

FromJSON IpFix Source # 
Instance details

Defined in VFlow.Types.IpFix

type Rep IpFix Source # 
Instance details

Defined in VFlow.Types.IpFix

type Rep IpFix = D1 (MetaData "IpFix" "VFlow.Types.IpFix" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "IpFix" PrefixI True) (S1 (MetaSel (Just "ipFixAgentID") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IPv4) :*: (S1 (MetaSel (Just "ipFixHeader") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Header) :*: S1 (MetaSel (Just "ipFixDataSets") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 [[DataSetsEltElt]]))))

data DataSetsEltElt Source #

Instances
Eq DataSetsEltElt Source # 
Instance details

Defined in VFlow.Types.IpFix

Show DataSetsEltElt Source # 
Instance details

Defined in VFlow.Types.IpFix

Generic DataSetsEltElt Source # 
Instance details

Defined in VFlow.Types.IpFix

Associated Types

type Rep DataSetsEltElt :: Type -> Type #

ToJSON DataSetsEltElt Source # 
Instance details

Defined in VFlow.Types.IpFix

FromJSON DataSetsEltElt Source # 
Instance details

Defined in VFlow.Types.IpFix

type Rep DataSetsEltElt Source # 
Instance details

Defined in VFlow.Types.IpFix

type Rep DataSetsEltElt = D1 (MetaData "DataSetsEltElt" "VFlow.Types.IpFix" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "DataSetsEltElt" PrefixI True) (S1 (MetaSel (Just "dataSetsEltEltV") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (IPv4 :|: HexInt)) :*: S1 (MetaSel (Just "dataSetsEltEltI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

data Header Source #

Instances
Eq Header Source # 
Instance details

Defined in VFlow.Types.IpFix

Methods

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

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

Show Header Source # 
Instance details

Defined in VFlow.Types.IpFix

Generic Header Source # 
Instance details

Defined in VFlow.Types.IpFix

Associated Types

type Rep Header :: Type -> Type #

Methods

from :: Header -> Rep Header x #

to :: Rep Header x -> Header #

ToJSON Header Source # 
Instance details

Defined in VFlow.Types.IpFix

FromJSON Header Source # 
Instance details

Defined in VFlow.Types.IpFix

type Rep Header Source # 
Instance details

Defined in VFlow.Types.IpFix

type Rep Header = D1 (MetaData "Header" "VFlow.Types.IpFix" "vflow-types-0.1-1JUjIDFUongBXuAEjQ0Q6N" False) (C1 (MetaCons "Header" PrefixI True) ((S1 (MetaSel (Just "headerLength") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "headerSequenceNo") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) :*: (S1 (MetaSel (Just "headerExportTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: (S1 (MetaSel (Just "headerVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "headerDomainID") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

newtype HexInt Source #

Constructors

HexInt Int64 
Instances
Eq HexInt Source # 
Instance details

Defined in VFlow.Types.IpFix

Methods

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

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

Show HexInt Source # 
Instance details

Defined in VFlow.Types.IpFix

ToJSON HexInt Source # 
Instance details

Defined in VFlow.Types.IpFix

FromJSON HexInt Source # 
Instance details

Defined in VFlow.Types.IpFix