Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- - |
See: Books API Reference for books.promooffer.dismiss
.
Synopsis
- type PromoOfferDismissResource = "books" :> ("v1" :> ("promooffer" :> ("dismiss" :> (QueryParam "manufacturer" Text :> (QueryParam "serial" Text :> (QueryParam "device" Text :> (QueryParam "model" Text :> (QueryParam "offerId" Text :> (QueryParam "product" Text :> (QueryParam "androidId" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))))))))
- promoOfferDismiss :: PromoOfferDismiss
- data PromoOfferDismiss
- podManufacturer :: Lens' PromoOfferDismiss (Maybe Text)
- podSerial :: Lens' PromoOfferDismiss (Maybe Text)
- podDevice :: Lens' PromoOfferDismiss (Maybe Text)
- podModel :: Lens' PromoOfferDismiss (Maybe Text)
- podOfferId :: Lens' PromoOfferDismiss (Maybe Text)
- podProduct :: Lens' PromoOfferDismiss (Maybe Text)
- podAndroidId :: Lens' PromoOfferDismiss (Maybe Text)
REST Resource
type PromoOfferDismissResource = "books" :> ("v1" :> ("promooffer" :> ("dismiss" :> (QueryParam "manufacturer" Text :> (QueryParam "serial" Text :> (QueryParam "device" Text :> (QueryParam "model" Text :> (QueryParam "offerId" Text :> (QueryParam "product" Text :> (QueryParam "androidId" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))))))) Source #
A resource alias for books.promooffer.dismiss
method which the
PromoOfferDismiss
request conforms to.
Creating a Request
promoOfferDismiss :: PromoOfferDismiss Source #
Creates a value of PromoOfferDismiss
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PromoOfferDismiss Source #
See: promoOfferDismiss
smart constructor.
Instances
Request Lenses
podManufacturer :: Lens' PromoOfferDismiss (Maybe Text) Source #
device manufacturer
podOfferId :: Lens' PromoOfferDismiss (Maybe Text) Source #
Offer to dimiss
podProduct :: Lens' PromoOfferDismiss (Maybe Text) Source #
device product
podAndroidId :: Lens' PromoOfferDismiss (Maybe Text) Source #
device android_id