gogol-books-0.0.1: Google Books SDK.

Copyright(c) 2015 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:

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.