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

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

Data AchievementsList Source # 
Instance details

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

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

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

Generic AchievementsList Source # 
Instance details

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

Associated Types

type Rep AchievementsList :: Type -> Type #

GoogleRequest AchievementsList Source # 
Instance details

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

Associated Types

type Rs AchievementsList :: Type #

type Scopes AchievementsList :: [Symbol] #

type Rep AchievementsList Source # 
Instance details

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

type Rep AchievementsList = D1 (MetaData "AchievementsList" "Network.Google.Resource.Games.Achievements.List" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "AchievementsList'" PrefixI True) ((S1 (MetaSel (Just "_alState") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe AchievementsListState)) :*: S1 (MetaSel (Just "_alLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_alPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_alPlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_alMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes AchievementsList Source # 
Instance details

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

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

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

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.

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.