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.QuestMilestones.Claim

Contents

Description

Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.

See: Google Play Game Services API Reference for games.questMilestones.claim.

Synopsis

REST Resource

type QuestMilestonesClaimResource = "games" :> ("v1" :> ("quests" :> (Capture "questId" Text :> ("milestones" :> (Capture "milestoneId" Text :> ("claim" :> (QueryParam "requestId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Put '[JSON] ())))))))) Source #

A resource alias for games.questMilestones.claim method which the QuestMilestonesClaim request conforms to.

Creating a Request

questMilestonesClaim Source #

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

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

data QuestMilestonesClaim Source #

Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.

See: questMilestonesClaim smart constructor.

Instances
Eq QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

Data QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

Methods

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

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

toConstr :: QuestMilestonesClaim -> Constr #

dataTypeOf :: QuestMilestonesClaim -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

Generic QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

Associated Types

type Rep QuestMilestonesClaim :: Type -> Type #

GoogleRequest QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

Associated Types

type Rs QuestMilestonesClaim :: Type #

type Scopes QuestMilestonesClaim :: [Symbol] #

type Rep QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

type Rep QuestMilestonesClaim = D1 (MetaData "QuestMilestonesClaim" "Network.Google.Resource.Games.QuestMilestones.Claim" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "QuestMilestonesClaim'" PrefixI True) (S1 (MetaSel (Just "_qmcRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int64)) :*: (S1 (MetaSel (Just "_qmcMilestoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_qmcQuestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes QuestMilestonesClaim Source # 
Instance details

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

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

Defined in Network.Google.Resource.Games.QuestMilestones.Claim

Request Lenses

qmcRequestId :: Lens' QuestMilestonesClaim Int64 Source #

A numeric ID to ensure that the request is handled correctly across retries. Your client application must generate this ID randomly.