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

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

Data LeaderboardsList Source # 
Instance details

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

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

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

Generic LeaderboardsList Source # 
Instance details

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

Associated Types

type Rep LeaderboardsList :: Type -> Type #

GoogleRequest LeaderboardsList Source # 
Instance details

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

Associated Types

type Rs LeaderboardsList :: Type #

type Scopes LeaderboardsList :: [Symbol] #

type Rep LeaderboardsList Source # 
Instance details

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

type Rep LeaderboardsList = D1 (MetaData "LeaderboardsList" "Network.Google.Resource.Games.Leaderboards.List" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "LeaderboardsList'" PrefixI True) (S1 (MetaSel (Just "_llLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_llPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_llMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))
type Scopes LeaderboardsList Source # 
Instance details

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

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

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

Request Lenses

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.