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 |
Returns a list of the event definitions in this application.
See: Google Play Game Services API Reference for games.events.listDefinitions
.
Synopsis
- type EventsListDefinitionsResource = "games" :> ("v1" :> ("eventDefinitions" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] EventDefinitionListResponse))))))
- eventsListDefinitions :: EventsListDefinitions
- data EventsListDefinitions
- eldLanguage :: Lens' EventsListDefinitions (Maybe Text)
- eldPageToken :: Lens' EventsListDefinitions (Maybe Text)
- eldMaxResults :: Lens' EventsListDefinitions (Maybe Int32)
REST Resource
type EventsListDefinitionsResource = "games" :> ("v1" :> ("eventDefinitions" :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] EventDefinitionListResponse)))))) Source #
A resource alias for games.events.listDefinitions
method which the
EventsListDefinitions
request conforms to.
Creating a Request
eventsListDefinitions :: EventsListDefinitions Source #
Creates a value of EventsListDefinitions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data EventsListDefinitions Source #
Returns a list of the event definitions in this application.
See: eventsListDefinitions
smart constructor.
Instances
Request Lenses
eldLanguage :: Lens' EventsListDefinitions (Maybe Text) Source #
The preferred language to use for strings returned by this method.
eldPageToken :: Lens' EventsListDefinitions (Maybe Text) Source #
The token returned by the previous request.
eldMaxResults :: Lens' EventsListDefinitions (Maybe Int32) Source #
The maximum number of event definitions to return in the response, used for paging. For any response, the actual number of event definitions to return may be less than the specified maxResults.