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

Contents

Description

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

Synopsis

REST Resource

type RoomsDismissResource = "games" :> ("v1" :> ("rooms" :> (Capture "roomId" Text :> ("dismiss" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #

A resource alias for games.rooms.dismiss method which the RoomsDismiss request conforms to.

Creating a Request

roomsDismiss Source #

Arguments

:: Text

rdRoomId

-> RoomsDismiss 

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

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

data RoomsDismiss Source #

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

See: roomsDismiss smart constructor.

Instances
Eq RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

Data RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

Methods

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

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

toConstr :: RoomsDismiss -> Constr #

dataTypeOf :: RoomsDismiss -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

Generic RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

Associated Types

type Rep RoomsDismiss :: Type -> Type #

GoogleRequest RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

Associated Types

type Rs RoomsDismiss :: Type #

type Scopes RoomsDismiss :: [Symbol] #

type Rep RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

type Rep RoomsDismiss = D1 (MetaData "RoomsDismiss" "Network.Google.Resource.Games.Rooms.Dismiss" "gogol-games-0.4.0-EPjClsFfNAGupIHqlLfHm" True) (C1 (MetaCons "RoomsDismiss'" PrefixI True) (S1 (MetaSel (Just "_rdRoomId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes RoomsDismiss Source # 
Instance details

Defined in Network.Google.Resource.Games.Rooms.Dismiss

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

Defined in Network.Google.Resource.Games.Rooms.Dismiss

type Rs RoomsDismiss = ()

Request Lenses

rdRoomId :: Lens' RoomsDismiss Text Source #

The ID of the room.