pokemon-go-protobuf-types-0.1.0.0: Haskell types for the Pokemon Go protobuf protocol.

Safe HaskellNone
LanguageHaskell2010

Proto.POGOProtos.Data.Player.ContactSettings

Documentation

data ContactSettings #

Instances

Eq ContactSettings # 
Show ContactSettings # 
Message ContactSettings # 

Methods

descriptor :: MessageDescriptor ContactSettings

Default ContactSettings # 
HasField "sendMarketingEmails" ContactSettings ContactSettings # 

Methods

field :: ProxySym "sendMarketingEmails" -> Lens ContactSettings ContactSettings (Field "sendMarketingEmails" ContactSettings) (Field "sendMarketingEmails" ContactSettings)

HasField "sendPushNotifications" ContactSettings ContactSettings # 

Methods

field :: ProxySym "sendPushNotifications" -> Lens ContactSettings ContactSettings (Field "sendPushNotifications" ContactSettings) (Field "sendPushNotifications" ContactSettings)

type Field "sendMarketingEmails" ContactSettings # 
type Field "sendMarketingEmails" ContactSettings = Bool
type Field "sendPushNotifications" ContactSettings # 
type Field "sendPushNotifications" ContactSettings = Bool

sendMarketingEmails :: forall msg msg'. HasField "sendMarketingEmails" msg msg' => Lens msg msg' (Field "sendMarketingEmails" msg) (Field "sendMarketingEmails" msg') #

sendPushNotifications :: forall msg msg'. HasField "sendPushNotifications" msg msg' => Lens msg msg' (Field "sendPushNotifications" msg) (Field "sendPushNotifications" msg') #