Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.Google.Resource.Games.Quests.List
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
.
- 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)))))))))
- questsList :: Text -> QuestsList
- data QuestsList
- qlConsistencyToken :: Lens' QuestsList (Maybe Int64)
- qlLanguage :: Lens' QuestsList (Maybe Text)
- qlPageToken :: Lens' QuestsList (Maybe Text)
- qlPlayerId :: Lens' QuestsList Text
- qlMaxResults :: Lens' QuestsList (Maybe Int32)
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
Arguments
:: Text | |
-> 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 # | |
Show QuestsList # | |
Generic QuestsList # | |
GoogleRequest QuestsList # | |
type Rep QuestsList # | |
type Scopes QuestsList # | |
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).