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.SetStepsAtLeast

Contents

Description

Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.

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

Synopsis

REST Resource

type AchievementsSetStepsAtLeastResource = "games" :> ("v1" :> ("achievements" :> (Capture "achievementId" Text :> ("setStepsAtLeast" :> (QueryParam "steps" (Textual Int32) :> (QueryParam "alt" AltJSON :> Post '[JSON] AchievementSetStepsAtLeastResponse)))))) Source #

A resource alias for games.achievements.setStepsAtLeast method which the AchievementsSetStepsAtLeast request conforms to.

Creating a Request

achievementsSetStepsAtLeast Source #

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

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

data AchievementsSetStepsAtLeast Source #

Sets the steps for the currently authenticated player towards unlocking an achievement. If the steps parameter is less than the current number of steps that the player already gained for the achievement, the achievement is not modified.

See: achievementsSetStepsAtLeast smart constructor.

Instances
Eq AchievementsSetStepsAtLeast Source # 
Instance details

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

Data AchievementsSetStepsAtLeast Source # 
Instance details

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

Methods

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

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

toConstr :: AchievementsSetStepsAtLeast -> Constr #

dataTypeOf :: AchievementsSetStepsAtLeast -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementsSetStepsAtLeast Source # 
Instance details

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

Generic AchievementsSetStepsAtLeast Source # 
Instance details

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

Associated Types

type Rep AchievementsSetStepsAtLeast :: Type -> Type #

GoogleRequest AchievementsSetStepsAtLeast Source # 
Instance details

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

type Rep AchievementsSetStepsAtLeast Source # 
Instance details

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

type Rep AchievementsSetStepsAtLeast = D1 (MetaData "AchievementsSetStepsAtLeast" "Network.Google.Resource.Games.Achievements.SetStepsAtLeast" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "AchievementsSetStepsAtLeast'" PrefixI True) (S1 (MetaSel (Just "_assalAchievementId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_assalSteps") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Textual Int32))))
type Scopes AchievementsSetStepsAtLeast Source # 
Instance details

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

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

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

Request Lenses

assalAchievementId :: Lens' AchievementsSetStepsAtLeast Text Source #

The ID of the achievement used by this method.

assalSteps :: Lens' AchievementsSetStepsAtLeast Int32 Source #

The minimum value to set the steps to.