rollbar-hs-0.3.1.0: Core Rollbar data types and APIs.

Copyright(c) Hardy Jones 2017
LicenseBSD3
Maintainerjones3.hardy@gmail.com
Stabilityexperimental
Safe HaskellNone
LanguageHaskell2010

Rollbar.Item.Person

Description

 
Synopsis

Documentation

data Person Source #

The affected user.

The Email and Username associated with the latest Id will overwrite any previous.

Constructors

Person 
Instances
Eq Person Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

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

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

Show Person Source # 
Instance details

Defined in Rollbar.Item.Person

Generic Person Source # 
Instance details

Defined in Rollbar.Item.Person

Associated Types

type Rep Person :: * -> * #

Methods

from :: Person -> Rep Person x #

to :: Rep Person x -> Person #

ToJSON Person Source # 
Instance details

Defined in Rollbar.Item.Person

FromJSON Person Source # 
Instance details

Defined in Rollbar.Item.Person

type Rep Person Source # 
Instance details

Defined in Rollbar.Item.Person

type Rep Person = D1 (MetaData "Person" "Rollbar.Item.Person" "rollbar-hs-0.3.1.0-AHXin9WUqD3IOtR3mTqHpy" False) (C1 (MetaCons "Person" PrefixI True) (S1 (MetaSel (Just "id") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Id) :*: (S1 (MetaSel (Just "username") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Username)) :*: S1 (MetaSel (Just "email") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Email)))))

newtype Id Source #

The user's identifier. This uniquely identifies a Person to Rollbar.

Constructors

Id Text 
Instances
Eq Id Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

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

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

Show Id Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

showsPrec :: Int -> Id -> ShowS #

show :: Id -> String #

showList :: [Id] -> ShowS #

IsString Id Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

fromString :: String -> Id #

ToJSON Id Source # 
Instance details

Defined in Rollbar.Item.Person

FromJSON Id Source # 
Instance details

Defined in Rollbar.Item.Person

newtype Username Source #

The user's name.

Constructors

Username Text 
Instances
Eq Username Source # 
Instance details

Defined in Rollbar.Item.Person

Show Username Source # 
Instance details

Defined in Rollbar.Item.Person

IsString Username Source # 
Instance details

Defined in Rollbar.Item.Person

ToJSON Username Source # 
Instance details

Defined in Rollbar.Item.Person

FromJSON Username Source # 
Instance details

Defined in Rollbar.Item.Person

newtype Email Source #

The user's email.

Constructors

Email Text 
Instances
Eq Email Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

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

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

Show Email Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

showsPrec :: Int -> Email -> ShowS #

show :: Email -> String #

showList :: [Email] -> ShowS #

IsString Email Source # 
Instance details

Defined in Rollbar.Item.Person

Methods

fromString :: String -> Email #

ToJSON Email Source # 
Instance details

Defined in Rollbar.Item.Person

FromJSON Email Source # 
Instance details

Defined in Rollbar.Item.Person