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 |
Returns Series membership data given the series id.
See: Books API Reference for books.series.membership.get
.
Synopsis
- type SeriesMembershipGetResource = "books" :> ("v1" :> ("series" :> ("membership" :> ("get" :> (QueryParam "series_id" Text :> (QueryParam "page_token" Text :> (QueryParam "page_size" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Seriesmembership))))))))
- seriesMembershipGet :: Text -> SeriesMembershipGet
- data SeriesMembershipGet
- smgPageToken :: Lens' SeriesMembershipGet (Maybe Text)
- smgPageSize :: Lens' SeriesMembershipGet (Maybe Word32)
- smgSeriesId :: Lens' SeriesMembershipGet Text
REST Resource
type SeriesMembershipGetResource = "books" :> ("v1" :> ("series" :> ("membership" :> ("get" :> (QueryParam "series_id" Text :> (QueryParam "page_token" Text :> (QueryParam "page_size" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] Seriesmembership)))))))) Source #
A resource alias for books.series.membership.get
method which the
SeriesMembershipGet
request conforms to.
Creating a Request
Creates a value of SeriesMembershipGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SeriesMembershipGet Source #
Returns Series membership data given the series id.
See: seriesMembershipGet
smart constructor.
Instances
Request Lenses
smgPageToken :: Lens' SeriesMembershipGet (Maybe Text) Source #
The value of the nextToken from the previous page.
smgPageSize :: Lens' SeriesMembershipGet (Maybe Word32) Source #
Number of maximum results per page to be included in the response.
smgSeriesId :: Lens' SeriesMembershipGet Text Source #
String that identifies the series