gogol-blogger-0.3.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.Comments.Get

Contents

Description

Gets one comment by ID.

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

Synopsis

REST Resource

type CommentsGetResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "view" CommentsGetView :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment))))))))) Source #

A resource alias for blogger.comments.get method which the CommentsGet request conforms to.

Creating a Request

commentsGet Source #

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

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

data CommentsGet Source #

Gets one comment by ID.

See: commentsGet smart constructor.

Instances

Eq CommentsGet Source # 
Data CommentsGet Source # 

Methods

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

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

toConstr :: CommentsGet -> Constr #

dataTypeOf :: CommentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsGet Source # 
Generic CommentsGet Source # 

Associated Types

type Rep CommentsGet :: * -> * #

GoogleRequest CommentsGet Source # 

Associated Types

type Rs CommentsGet :: * #

type Scopes CommentsGet :: [Symbol] #

type Rep CommentsGet Source # 
type Rep CommentsGet = D1 (MetaData "CommentsGet" "Network.Google.Resource.Blogger.Comments.Get" "gogol-blogger-0.3.0-BS58SVsiFJLCdRODXPa5ak" False) (C1 (MetaCons "CommentsGet'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_cgBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cgView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CommentsGetView)))) ((:*:) (S1 (MetaSel (Just Symbol "_cgPostId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cgCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes CommentsGet Source # 
type Scopes CommentsGet = (:) Symbol "https://www.googleapis.com/auth/blogger" ((:) Symbol "https://www.googleapis.com/auth/blogger.readonly" ([] Symbol))
type Rs CommentsGet Source # 

Request Lenses

cgBlogId :: Lens' CommentsGet Text Source #

ID of the blog to containing the comment.

cgView :: Lens' CommentsGet (Maybe CommentsGetView) Source #

Access level for the requested comment (default: READER). Note that some comments will require elevated permissions, for example comments where the parent posts which is in a draft state, or comments that are pending moderation.

cgPostId :: Lens' CommentsGet Text Source #

ID of the post to fetch posts from.

cgCommentId :: Lens' CommentsGet Text Source #

The ID of the comment to get.