gogol-games-0.4.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.TurnBasedMatches.TakeTurn

Contents

Description

Commit the results of a player turn.

See: Google Play Game Services API Reference for games.turnBasedMatches.takeTurn.

Synopsis

REST Resource

type TurnBasedMatchesTakeTurnResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("turn" :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TurnBasedMatchTurn :> Put '[JSON] TurnBasedMatch))))))) Source #

A resource alias for games.turnBasedMatches.takeTurn method which the TurnBasedMatchesTakeTurn request conforms to.

Creating a Request

turnBasedMatchesTakeTurn Source #

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

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

data TurnBasedMatchesTakeTurn Source #

Commit the results of a player turn.

See: turnBasedMatchesTakeTurn smart constructor.

Instances
Eq TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

Data TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

Methods

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

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

toConstr :: TurnBasedMatchesTakeTurn -> Constr #

dataTypeOf :: TurnBasedMatchesTakeTurn -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

Generic TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

Associated Types

type Rep TurnBasedMatchesTakeTurn :: Type -> Type #

GoogleRequest TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

type Rep TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

type Rep TurnBasedMatchesTakeTurn = D1 (MetaData "TurnBasedMatchesTakeTurn" "Network.Google.Resource.Games.TurnBasedMatches.TakeTurn" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" False) (C1 (MetaCons "TurnBasedMatchesTakeTurn'" PrefixI True) (S1 (MetaSel (Just "_tbmttPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TurnBasedMatchTurn) :*: (S1 (MetaSel (Just "_tbmttLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tbmttMatchId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

type Scopes TurnBasedMatchesTakeTurn = "https://www.googleapis.com/auth/games" ': ([] :: [Symbol])
type Rs TurnBasedMatchesTakeTurn Source # 
Instance details

Defined in Network.Google.Resource.Games.TurnBasedMatches.TakeTurn

Request Lenses

tbmttLanguage :: Lens' TurnBasedMatchesTakeTurn (Maybe Text) Source #

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