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.Events.ListByPlayer

Contents

Description

Returns a list showing the current progress on events in this application for the currently authenticated user.

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

Synopsis

REST Resource

type EventsListByPlayerResource = "games" :> ("v1" :> ("events" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PlayerEventListResponse))))))) Source #

A resource alias for games.events.listByPlayer method which the EventsListByPlayer request conforms to.

Creating a Request

eventsListByPlayer :: EventsListByPlayer Source #

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

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

data EventsListByPlayer Source #

Returns a list showing the current progress on events in this application for the currently authenticated user.

See: eventsListByPlayer smart constructor.

Instances

Eq EventsListByPlayer Source # 
Data EventsListByPlayer Source # 

Methods

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

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

toConstr :: EventsListByPlayer -> Constr #

dataTypeOf :: EventsListByPlayer -> DataType #

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

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

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

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

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

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

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

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

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

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

Show EventsListByPlayer Source # 
Generic EventsListByPlayer Source # 
GoogleRequest EventsListByPlayer Source # 
type Rep EventsListByPlayer Source # 
type Rep EventsListByPlayer = D1 (MetaData "EventsListByPlayer" "Network.Google.Resource.Games.Events.ListByPlayer" "gogol-games-0.3.0-8BCKppY4rzpLLml8wyBtKz" False) (C1 (MetaCons "EventsListByPlayer'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_elbpConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) (S1 (MetaSel (Just Symbol "_elbpLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_elbpPageToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_elbpMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32)))))))
type Scopes EventsListByPlayer Source # 
type Scopes EventsListByPlayer = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs EventsListByPlayer Source # 

Request Lenses

elbpConsistencyToken :: Lens' EventsListByPlayer (Maybe Int64) Source #

The last-seen mutation timestamp.

elbpLanguage :: Lens' EventsListByPlayer (Maybe Text) Source #

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

elbpPageToken :: Lens' EventsListByPlayer (Maybe Text) Source #

The token returned by the previous request.

elbpMaxResults :: Lens' EventsListByPlayer (Maybe Int32) Source #

The maximum number of events to return in the response, used for paging. For any response, the actual number of events to return may be less than the specified maxResults.