gogol-games-0.0.1: Google Play Game Services SDK.

Copyright(c) 2015 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.Events.ListDefinitions

Contents

Description

Returns a list of the event definitions in this application.

See: Google Play Game Services API Reference for games.events.listDefinitions.

Synopsis

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:

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.