Copyright | (c) 2015 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.accept
.
- type PromoOfferAcceptResource = "books" :> ("v1" :> ("promooffer" :> ("accept" :> (QueryParam "manufacturer" Text :> (QueryParam "serial" Text :> (QueryParam "device" Text :> (QueryParam "model" Text :> (QueryParam "volumeId" Text :> (QueryParam "offerId" Text :> (QueryParam "product" Text :> (QueryParam "androidId" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ()))))))))))))
- promoOfferAccept :: PromoOfferAccept
- data PromoOfferAccept
- poaManufacturer :: Lens' PromoOfferAccept (Maybe Text)
- poaSerial :: Lens' PromoOfferAccept (Maybe Text)
- poaDevice :: Lens' PromoOfferAccept (Maybe Text)
- poaModel :: Lens' PromoOfferAccept (Maybe Text)
- poaVolumeId :: Lens' PromoOfferAccept (Maybe Text)
- poaOfferId :: Lens' PromoOfferAccept (Maybe Text)
- poaProduct :: Lens' PromoOfferAccept (Maybe Text)
- poaAndroidId :: Lens' PromoOfferAccept (Maybe Text)
REST Resource
type PromoOfferAcceptResource = "books" :> ("v1" :> ("promooffer" :> ("accept" :> (QueryParam "manufacturer" Text :> (QueryParam "serial" Text :> (QueryParam "device" Text :> (QueryParam "model" Text :> (QueryParam "volumeId" Text :> (QueryParam "offerId" Text :> (QueryParam "product" Text :> (QueryParam "androidId" Text :> (QueryParam "alt" AltJSON :> Post `[JSON]` ())))))))))))) Source
A resource alias for books.promooffer.accept
method which the
PromoOfferAccept
request conforms to.
Creating a Request
promoOfferAccept :: PromoOfferAccept Source
Creates a value of PromoOfferAccept
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PromoOfferAccept Source
See: promoOfferAccept
smart constructor.
Request Lenses
poaManufacturer :: Lens' PromoOfferAccept (Maybe Text) Source
device manufacturer
poaVolumeId :: Lens' PromoOfferAccept (Maybe Text) Source
Volume id to exercise the offer
poaProduct :: Lens' PromoOfferAccept (Maybe Text) Source
device product
poaAndroidId :: Lens' PromoOfferAccept (Maybe Text) Source
device android_id