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

Contents

Description

Lists all the leaderboard metadata for your application.

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

Synopsis

REST Resource

type LeaderboardsListResource = "games" :> ("v1" :> ("leaderboards" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] LeaderboardListResponse))))))) Source #

A resource alias for games.leaderboards.list method which the LeaderboardsList request conforms to.

Creating a Request

leaderboardsList :: LeaderboardsList Source #

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

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

data LeaderboardsList Source #

Lists all the leaderboard metadata for your application.

See: leaderboardsList smart constructor.

Instances

Eq LeaderboardsList Source # 
Data LeaderboardsList Source # 

Methods

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

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

toConstr :: LeaderboardsList -> Constr #

dataTypeOf :: LeaderboardsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LeaderboardsList Source # 
Generic LeaderboardsList Source # 
GoogleRequest LeaderboardsList Source # 
type Rep LeaderboardsList Source # 
type Rep LeaderboardsList = D1 (MetaData "LeaderboardsList" "Network.Google.Resource.Games.Leaderboards.List" "gogol-games-0.1.0-Ie5bQD7CsWE1e0aKgiwDY3" False) (C1 (MetaCons "LeaderboardsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_llConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_llLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_llPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_llMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes LeaderboardsList Source # 
type Scopes LeaderboardsList = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs LeaderboardsList Source # 

Request Lenses

llConsistencyToken :: Lens' LeaderboardsList (Maybe Int64) Source #

The last-seen mutation timestamp.

llLanguage :: Lens' LeaderboardsList (Maybe Text) Source #

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

llPageToken :: Lens' LeaderboardsList (Maybe Text) Source #

The token returned by the previous request.

llMaxResults :: Lens' LeaderboardsList (Maybe Int32) Source #

The maximum number of leaderboards to return in the response. For any response, the actual number of leaderboards returned may be less than the specified maxResults.