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.TurnBasedMatches.Join

Contents

Description

Join a turn-based match.

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

Synopsis

REST Resource

type TurnBasedMatchesJoinResource = "games" :> ("v1" :> ("turnbasedmatches" :> (Capture "matchId" Text :> ("join" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Put '[JSON] TurnBasedMatch))))))) Source #

A resource alias for games.turnBasedMatches.join method which the TurnBasedMatchesJoin request conforms to.

Creating a Request

turnBasedMatchesJoin Source #

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

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

data TurnBasedMatchesJoin Source #

Join a turn-based match.

See: turnBasedMatchesJoin smart constructor.

Instances

Eq TurnBasedMatchesJoin Source # 
Data TurnBasedMatchesJoin Source # 

Methods

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

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

toConstr :: TurnBasedMatchesJoin -> Constr #

dataTypeOf :: TurnBasedMatchesJoin -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

tbmjConsistencyToken :: Lens' TurnBasedMatchesJoin (Maybe Int64) Source #

The last-seen mutation timestamp.

tbmjLanguage :: Lens' TurnBasedMatchesJoin (Maybe Text) Source #

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