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.Rooms.Decline

Contents

Description

Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.

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

Synopsis

REST Resource

type RoomsDeclineResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("decline" :> (QueryParam "consistencyToken" (Textual Int64) :> (QueryParam "language" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] Room))))))) Source #

A resource alias for games.rooms.decline method which the RoomsDecline request conforms to.

Creating a Request

roomsDecline Source #

Arguments

:: Text

rooRoomId

-> RoomsDecline 

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

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

data RoomsDecline Source #

Decline an invitation to join a room. For internal use by the Games SDK only. Calling this method directly is unsupported.

See: roomsDecline smart constructor.

Instances

Eq RoomsDecline Source # 
Data RoomsDecline Source # 

Methods

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

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

toConstr :: RoomsDecline -> Constr #

dataTypeOf :: RoomsDecline -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoomsDecline Source # 
Generic RoomsDecline Source # 

Associated Types

type Rep RoomsDecline :: * -> * #

GoogleRequest RoomsDecline Source # 

Associated Types

type Rs RoomsDecline :: * #

type Scopes RoomsDecline :: [Symbol] #

type Rep RoomsDecline Source # 
type Rep RoomsDecline = D1 (MetaData "RoomsDecline" "Network.Google.Resource.Games.Rooms.Decline" "gogol-games-0.3.0-8BCKppY4rzpLLml8wyBtKz" False) (C1 (MetaCons "RoomsDecline'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rooConsistencyToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int64)))) ((:*:) (S1 (MetaSel (Just Symbol "_rooRoomId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rooLanguage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes RoomsDecline Source # 
type Scopes RoomsDecline = (:) Symbol "https://www.googleapis.com/auth/games" ((:) Symbol "https://www.googleapis.com/auth/plus.login" ([] Symbol))
type Rs RoomsDecline Source # 

Request Lenses

rooConsistencyToken :: Lens' RoomsDecline (Maybe Int64) Source #

The last-seen mutation timestamp.

rooRoomId :: Lens' RoomsDecline Text Source #

The ID of the room.

rooLanguage :: Lens' RoomsDecline (Maybe Text) Source #

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