gogol-blogger-0.4.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 # 
Instance details

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

Data CommentsGet Source # 
Instance details

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

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 # 
Instance details

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

Generic CommentsGet Source # 
Instance details

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

Associated Types

type Rep CommentsGet :: Type -> Type #

GoogleRequest CommentsGet Source # 
Instance details

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

Associated Types

type Rs CommentsGet :: Type #

type Scopes CommentsGet :: [Symbol] #

type Rep CommentsGet Source # 
Instance details

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

type Rep CommentsGet = D1 (MetaData "CommentsGet" "Network.Google.Resource.Blogger.Comments.Get" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "CommentsGet'" PrefixI True) ((S1 (MetaSel (Just "_cgBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cgView") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe CommentsGetView))) :*: (S1 (MetaSel (Just "_cgPostId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cgCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CommentsGet Source # 
Instance details

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

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

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

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.