gogol-games-0.1.1: Google Play Game Services SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Games.Quests.Accept

Contents

Description

Indicates that the currently authorized user will participate in the quest.

See: Google Play Game Services API Reference for games.quests.accept.

Synopsis

REST Resource

type QuestsAcceptResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("accept" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Quest))))))) Source #

A resource alias for games.quests.accept method which the QuestsAccept request conforms to.

Creating a Request

questsAccept Source #

Arguments

:: Text

qaQuestId

-> QuestsAccept 

Creates a value of QuestsAccept with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data QuestsAccept Source #

Indicates that the currently authorized user will participate in the quest.

See: questsAccept smart constructor.

Instances

Eq QuestsAccept Source # 
Data QuestsAccept Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> QuestsAccept -> c QuestsAccept #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c QuestsAccept #

toConstr :: QuestsAccept -> Constr #

dataTypeOf :: QuestsAccept -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c QuestsAccept) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c QuestsAccept) #

gmapT :: (forall b. Data b => b -> b) -> QuestsAccept -> QuestsAccept #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> QuestsAccept -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> QuestsAccept -> r #

gmapQ :: (forall d. Data d => d -> u) -> QuestsAccept -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> QuestsAccept -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> QuestsAccept -> m QuestsAccept #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> QuestsAccept -> m QuestsAccept #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> QuestsAccept -> m QuestsAccept #

Show QuestsAccept Source # 
Generic QuestsAccept Source # 

Associated Types

type Rep QuestsAccept :: * -> * #

GoogleRequest QuestsAccept Source # 

Associated Types

type Rs QuestsAccept :: * #

type Scopes QuestsAccept :: [Symbol] #

type Rep QuestsAccept Source # 
type Rep QuestsAccept = D1 (MetaData "QuestsAccept" "Network.Google.Resource.Games.Quests.Accept" "gogol-games-0.1.1-51s1M5pkrSC2hZZaHOnQh5" False) (C1 (MetaCons "QuestsAccept'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_qaConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_qaLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_qaQuestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes QuestsAccept Source # 
type Scopes QuestsAccept = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs QuestsAccept Source # 

Request Lenses

qaConsistencyToken :: Lens' QuestsAccept (Maybe Int64) Source #

The last-seen mutation timestamp.

qaLanguage :: Lens' QuestsAccept (Maybe Text) Source #

The preferred language to use for strings returned by this method.

qaQuestId :: Lens' QuestsAccept Text Source #

The ID of the quest.