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.Dismiss

Contents

Description

Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications.

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

Synopsis

REST Resource

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

A resource alias for games.turnBasedMatches.dismiss method which the TurnBasedMatchesDismiss request conforms to.

Creating a Request

turnBasedMatchesDismiss Source #

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

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

data TurnBasedMatchesDismiss Source #

Dismiss a turn-based match from the match list. The match will no longer show up in the list and will not generate notifications.

See: turnBasedMatchesDismiss smart constructor.

Instances

Eq TurnBasedMatchesDismiss Source # 
Data TurnBasedMatchesDismiss Source # 

Methods

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

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

toConstr :: TurnBasedMatchesDismiss -> Constr #

dataTypeOf :: TurnBasedMatchesDismiss -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

tbmdsConsistencyToken :: Lens' TurnBasedMatchesDismiss (Maybe Int64) Source #

The last-seen mutation timestamp.