gogol-games-0.1.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.Decline

Contents

Description

Decline an invitation to play a turn-based match.

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

Synopsis

REST Resource

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

A resource alias for games.turnBasedMatches.decline method which the TurnBasedMatchesDecline request conforms to.

Creating a Request

turnBasedMatchesDecline Source #

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

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

data TurnBasedMatchesDecline Source #

Decline an invitation to play a turn-based match.

See: turnBasedMatchesDecline smart constructor.

Instances

Eq TurnBasedMatchesDecline Source # 
Data TurnBasedMatchesDecline Source # 

Methods

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

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

toConstr :: TurnBasedMatchesDecline -> Constr #

dataTypeOf :: TurnBasedMatchesDecline -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TurnBasedMatchesDecline Source # 
Generic TurnBasedMatchesDecline Source # 
GoogleRequest TurnBasedMatchesDecline Source # 
type Rep TurnBasedMatchesDecline Source # 
type Rep TurnBasedMatchesDecline = D1 (MetaData "TurnBasedMatchesDecline" "Network.Google.Resource.Games.TurnBasedMatches.Decline" "gogol-games-0.1.0-Ie5bQD7CsWE1e0aKgiwDY3" False) (C1 (MetaCons "TurnBasedMatchesDecline'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_tbmdConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_tbmdLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_tbmdMatchId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes TurnBasedMatchesDecline Source # 
type Scopes TurnBasedMatchesDecline = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs TurnBasedMatchesDecline Source # 

Request Lenses

tbmdConsistencyToken :: Lens' TurnBasedMatchesDecline (Maybe Int64) Source #

The last-seen mutation timestamp.

tbmdLanguage :: Lens' TurnBasedMatchesDecline (Maybe Text) Source #

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