gogol-blogger-0.5.0: Google Blogger 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.Blogger.PostUserInfos.Get

Contents

Description

Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.

See: Blogger API Reference for blogger.postUserInfos.get.

Synopsis

REST Resource

type PostUserInfosGetResource = "blogger" :> ("v3" :> ("users" :> (Capture "userId" Text :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> (QueryParam "maxComments" (Textual Word32) :> (QueryParam "alt" AltJSON :> Get '[JSON] PostUserInfo))))))))) Source #

A resource alias for blogger.postUserInfos.get method which the PostUserInfosGet request conforms to.

Creating a Request

postUserInfosGet Source #

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

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

data PostUserInfosGet Source #

Gets one post and user info pair, by post ID and user ID. The post user info contains per-user information about the post, such as access rights, specific to the user.

See: postUserInfosGet smart constructor.

Instances
Eq PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

Data PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

Methods

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

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

toConstr :: PostUserInfosGet -> Constr #

dataTypeOf :: PostUserInfosGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

Generic PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

Associated Types

type Rep PostUserInfosGet :: Type -> Type #

GoogleRequest PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

Associated Types

type Rs PostUserInfosGet :: Type #

type Scopes PostUserInfosGet :: [Symbol] #

type Rep PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

type Rep PostUserInfosGet = D1 (MetaData "PostUserInfosGet" "Network.Google.Resource.Blogger.PostUserInfos.Get" "gogol-blogger-0.5.0-6GknSBad0hKHBhFcp0Hgye" False) (C1 (MetaCons "PostUserInfosGet'" PrefixI True) ((S1 (MetaSel (Just "_puigBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_puigMaxComments") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Word32)))) :*: (S1 (MetaSel (Just "_puigUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_puigPostId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes PostUserInfosGet Source # 
Instance details

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

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

Defined in Network.Google.Resource.Blogger.PostUserInfos.Get

Request Lenses

puigMaxComments :: Lens' PostUserInfosGet (Maybe Word32) Source #

Maximum number of comments to pull back on a post.

puigUserId :: Lens' PostUserInfosGet Text Source #

ID of the user for the per-user information to be fetched. Either the word 'self' (sans quote marks) or the user's profile identifier.

puigPostId :: Lens' PostUserInfosGet Text Source #

The ID of the post to get.