gogol-books-0.5.0: Google Books 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.Books.Notification.Get

Contents

Description

Returns notification details for a given notification id.

See: Books API Reference for books.notification.get.

Synopsis

REST Resource

type NotificationGetResource = "books" :> ("v1" :> ("notification" :> ("get" :> (QueryParam "notification_id" Text :> (QueryParam "locale" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Notification))))))) Source #

A resource alias for books.notification.get method which the NotificationGet request conforms to.

Creating a Request

notificationGet Source #

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

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

data NotificationGet Source #

Returns notification details for a given notification id.

See: notificationGet smart constructor.

Instances
Eq NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

Data NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

Methods

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

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

toConstr :: NotificationGet -> Constr #

dataTypeOf :: NotificationGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

Generic NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

Associated Types

type Rep NotificationGet :: Type -> Type #

GoogleRequest NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

Associated Types

type Rs NotificationGet :: Type #

type Scopes NotificationGet :: [Symbol] #

type Rep NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

type Rep NotificationGet = D1 (MetaData "NotificationGet" "Network.Google.Resource.Books.Notification.Get" "gogol-books-0.5.0-5eGHzODss8vLDz8eryP3W5" False) (C1 (MetaCons "NotificationGet'" PrefixI True) (S1 (MetaSel (Just "_ngLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ngNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ngSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes NotificationGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Notification.Get

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

Defined in Network.Google.Resource.Books.Notification.Get

Request Lenses

ngLocale :: Lens' NotificationGet (Maybe Text) Source #

ISO-639-1 language and ISO-3166-1 country code. Ex: 'en_US'. Used for generating notification title and body.

ngNotificationId :: Lens' NotificationGet Text Source #

String to identify the notification.

ngSource :: Lens' NotificationGet (Maybe Text) Source #

String to identify the originator of this request.