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 |
Lists all the achievement definitions for your application.
See: Google Play Game Services API Reference for games.achievementDefinitions.list
.
Synopsis
- type AchievementDefinitionsListResource = "games" :> ("v1" :> ("achievements" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AchievementDefinitionsListResponse))))))
- achievementDefinitionsList :: AchievementDefinitionsList
- data AchievementDefinitionsList
- adlLanguage :: Lens' AchievementDefinitionsList (Maybe Text)
- adlPageToken :: Lens' AchievementDefinitionsList (Maybe Text)
- adlMaxResults :: Lens' AchievementDefinitionsList (Maybe Int32)
REST Resource
type AchievementDefinitionsListResource = "games" :> ("v1" :> ("achievements" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] AchievementDefinitionsListResponse)))))) Source #
A resource alias for games.achievementDefinitions.list
method which the
AchievementDefinitionsList
request conforms to.
Creating a Request
achievementDefinitionsList :: AchievementDefinitionsList Source #
Creates a value of AchievementDefinitionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AchievementDefinitionsList Source #
Lists all the achievement definitions for your application.
See: achievementDefinitionsList
smart constructor.
Instances
Request Lenses
adlLanguage :: Lens' AchievementDefinitionsList (Maybe Text) Source #
The preferred language to use for strings returned by this method.
adlPageToken :: Lens' AchievementDefinitionsList (Maybe Text) Source #
The token returned by the previous request.
adlMaxResults :: Lens' AchievementDefinitionsList (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.