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

Contents

Description

Get a list of quests for your application and the currently authenticated player.

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

Synopsis

REST Resource

type QuestsListResource = "games" :> ("v1" :> ("players" :> (Capture "playerId" Text :> ("quests" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] QuestListResponse))))))))) #

A resource alias for games.quests.list method which the QuestsList request conforms to.

Creating a Request

questsList #

Arguments

:: Text

qlPlayerId

-> QuestsList 

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

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

data QuestsList #

Get a list of quests for your application and the currently authenticated player.

See: questsList smart constructor.

Instances

Eq QuestsList # 
Data QuestsList # 

Methods

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

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

toConstr :: QuestsList -> Constr #

dataTypeOf :: QuestsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show QuestsList # 
Generic QuestsList # 

Associated Types

type Rep QuestsList :: * -> * #

GoogleRequest QuestsList # 

Associated Types

type Rs QuestsList :: * #

type Scopes QuestsList :: [Symbol] #

type Rep QuestsList # 
type Rep QuestsList = D1 (MetaData "QuestsList" "Network.Google.Resource.Games.Quests.List" "gogol-games-0.3.0-GNXQYUUBxvWAqjK1jE2zeK" False) (C1 (MetaCons "QuestsList'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_qlConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_qlLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_qlPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_qlPlayerId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_qlMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))))))))
type Scopes QuestsList # 
type Scopes QuestsList = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs QuestsList # 

Request Lenses

qlConsistencyToken :: Lens' QuestsList (Maybe Int64) #

The last-seen mutation timestamp.

qlLanguage :: Lens' QuestsList (Maybe Text) #

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

qlPageToken :: Lens' QuestsList (Maybe Text) #

The token returned by the previous request.

qlPlayerId :: Lens' QuestsList Text #

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

qlMaxResults :: Lens' QuestsList (Maybe Int32) #

The maximum number of quest resources to return in the response, used for paging. For any response, the actual number of quest resources returned may be less than the specified maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50).