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.Achievements.Increment

Contents

Description

Increments the steps of the achievement with the given ID for the currently authenticated player.

See: Google Play Game Services API Reference for games.achievements.increment.

Synopsis

REST Resource

type AchievementsIncrementResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("increment" :> (QueryParam "stepsToIncrement" (Textual Int32) :> (QueryParam "requestId" (Textual Int64) :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementIncrementResponse))))))) Source #

A resource alias for games.achievements.increment method which the AchievementsIncrement request conforms to.

Creating a Request

achievementsIncrement Source #

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

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

data AchievementsIncrement Source #

Increments the steps of the achievement with the given ID for the currently authenticated player.

See: achievementsIncrement smart constructor.

Instances
Eq AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

Data AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

Methods

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

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

toConstr :: AchievementsIncrement -> Constr #

dataTypeOf :: AchievementsIncrement -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

Generic AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

Associated Types

type Rep AchievementsIncrement :: Type -> Type #

GoogleRequest AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

type Rep AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

type Rep AchievementsIncrement = D1 (MetaData "AchievementsIncrement" "Network.Google.Resource.Games.Achievements.Increment" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "AchievementsIncrement'" PrefixI True) (S1 (MetaSel (Just "_aiRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64))) :*: (S1 (MetaSel (Just "_aiAchievementId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_aiStepsToIncrement") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32)))))
type Scopes AchievementsIncrement Source # 
Instance details

Defined in Network.Google.Resource.Games.Achievements.Increment

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

Defined in Network.Google.Resource.Games.Achievements.Increment

Request Lenses

aiRequestId :: Lens' AchievementsIncrement (Maybe Int64) Source #

A randomly generated numeric ID for each request specified by the caller. This number is used at the server to ensure that the request is handled correctly across retries.

aiAchievementId :: Lens' AchievementsIncrement Text Source #

The ID of the achievement used by this method.

aiStepsToIncrement :: Lens' AchievementsIncrement Int32 Source #

The number of steps to increment.