gogol-games-0.2.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.List

Contents

Description

Lists the progress for all your application's achievements for the currently authenticated player.

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

Synopsis

REST Resource

type AchievementsListResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> ("achievements" :> (QueryParam "state" AchievementsListState :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PlayerAchievementListResponse)))))))))) Source #

A resource alias for games.achievements.list method which the AchievementsList request conforms to.

Creating a Request

achievementsList Source #

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

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

data AchievementsList Source #

Lists the progress for all your application's achievements for the currently authenticated player.

See: achievementsList smart constructor.

Instances

Eq AchievementsList Source # 
Data AchievementsList Source # 

Methods

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

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

toConstr :: AchievementsList -> Constr #

dataTypeOf :: AchievementsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show AchievementsList Source # 
Generic AchievementsList Source # 
GoogleRequest AchievementsList Source # 
type Rep AchievementsList Source # 
type Rep AchievementsList = D1 (MetaData "AchievementsList" "Network.Google.Resource.Games.Achievements.List" "gogol-games-0.2.0-KphkSErLqFDEpZZf11weia" False) (C1 (MetaCons "AchievementsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_alState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AchievementsListState))) ((:*:) (S1 (MetaSel (Just Symbol "_alConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_alLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_alPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_alPlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_alMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))
type Scopes AchievementsList Source # 
type Scopes AchievementsList = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs AchievementsList Source # 

Request Lenses

alState :: Lens' AchievementsList (Maybe AchievementsListState) Source #

Tells the server to return only achievements with the specified state. If this parameter isn't specified, all achievements are returned.

alConsistencyToken :: Lens' AchievementsList (Maybe Int64) Source #

The last-seen mutation timestamp.

alLanguage :: Lens' AchievementsList (Maybe Text) Source #

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

alPageToken :: Lens' AchievementsList (Maybe Text) Source #

The token returned by the previous request.

alPlayerId :: Lens' AchievementsList Text Source #

A player ID. A value of me may be used in place of the authenticated player's ID.

alMaxResults :: Lens' AchievementsList (Maybe Int32) Source #

The maximum number of achievement resources to return in the response, used for paging. For any response, the actual number of achievement resources returned may be less than the specified maxResults.