gogol-books-0.4.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.Familysharing.Share

Contents

Description

Initiates sharing of the content with the user's family. Empty response indicates success.

See: Books API Reference for books.familysharing.share.

Synopsis

REST Resource

type FamilysharingShareResource = "books" :> ("v1" :> ("familysharing" :> ("share" :> (QueryParam "volumeId" Text :> (QueryParam "source" Text :> (QueryParam "docId" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))))) Source #

A resource alias for books.familysharing.share method which the FamilysharingShare request conforms to.

Creating a Request

familysharingShare :: FamilysharingShare Source #

Creates a value of FamilysharingShare with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data FamilysharingShare Source #

Initiates sharing of the content with the user's family. Empty response indicates success.

See: familysharingShare smart constructor.

Instances
Eq FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

Data FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FamilysharingShare -> c FamilysharingShare #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FamilysharingShare #

toConstr :: FamilysharingShare -> Constr #

dataTypeOf :: FamilysharingShare -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c FamilysharingShare) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FamilysharingShare) #

gmapT :: (forall b. Data b => b -> b) -> FamilysharingShare -> FamilysharingShare #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FamilysharingShare -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FamilysharingShare -> r #

gmapQ :: (forall d. Data d => d -> u) -> FamilysharingShare -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FamilysharingShare -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FamilysharingShare -> m FamilysharingShare #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FamilysharingShare -> m FamilysharingShare #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FamilysharingShare -> m FamilysharingShare #

Show FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

Generic FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

Associated Types

type Rep FamilysharingShare :: Type -> Type #

GoogleRequest FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

Associated Types

type Rs FamilysharingShare :: Type #

type Scopes FamilysharingShare :: [Symbol] #

type Rep FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

type Rep FamilysharingShare = D1 (MetaData "FamilysharingShare" "Network.Google.Resource.Books.Familysharing.Share" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "FamilysharingShare'" PrefixI True) (S1 (MetaSel (Just "_fsVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_fsSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_fsDocId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Scopes FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

type Scopes FamilysharingShare = "https://www.googleapis.com/auth/books" ': ([] :: [Symbol])
type Rs FamilysharingShare Source # 
Instance details

Defined in Network.Google.Resource.Books.Familysharing.Share

Request Lenses

fsSource :: Lens' FamilysharingShare (Maybe Text) Source #

String to identify the originator of this request.