gogol-books-0.2.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 # 
Data NotificationGet Source # 

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 # 
Generic NotificationGet Source # 
GoogleRequest NotificationGet Source # 
type Rep NotificationGet Source # 
type Rep NotificationGet = D1 (MetaData "NotificationGet" "Network.Google.Resource.Books.Notification.Get" "gogol-books-0.2.0-5Ye9jkpXNyYIQzuxFUGse4" False) (C1 (MetaCons "NotificationGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ngLocale") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ngNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ngSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes NotificationGet Source # 
type Scopes NotificationGet = (:) Symbol "https://www.googleapis.com/auth/books" ([] Symbol)
type Rs NotificationGet Source # 

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.