gogol-games-0.4.0: 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 "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 # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

Data QuestsAccept Source # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

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 # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

Generic QuestsAccept Source # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

Associated Types

type Rep QuestsAccept :: Type -> Type #

GoogleRequest QuestsAccept Source # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

Associated Types

type Rs QuestsAccept :: Type #

type Scopes QuestsAccept :: [Symbol] #

type Rep QuestsAccept Source # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

type Rep QuestsAccept = D1 (MetaData "QuestsAccept" "Network.Google.Resource.Games.Quests.Accept" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "QuestsAccept'" PrefixI True) (S1 (MetaSel (Just "_qaLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_qaQuestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes QuestsAccept Source # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

type Scopes QuestsAccept = "https://www.googleapis.com/auth/games" ': ([] :: [Symbol])
type Rs QuestsAccept Source # 
Instance details

Defined in Network.Google.Resource.Games.Quests.Accept

Request Lenses

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.