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.RemoveContent

Contents

Description

Removes the content of a comment.

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

Synopsis

REST Resource

type CommentsRemoveContentResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("removecontent" :> (QueryParam "alt" AltJSON :> Post '[JSON] Comment))))))))) Source #

A resource alias for blogger.comments.removeContent method which the CommentsRemoveContent request conforms to.

Creating a Request

commentsRemoveContent Source #

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

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

data CommentsRemoveContent Source #

Removes the content of a comment.

See: commentsRemoveContent smart constructor.

Instances

Eq CommentsRemoveContent Source # 
Data CommentsRemoveContent Source # 

Methods

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

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

toConstr :: CommentsRemoveContent -> Constr #

dataTypeOf :: CommentsRemoveContent -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsRemoveContent Source # 
Generic CommentsRemoveContent Source # 
GoogleRequest CommentsRemoveContent Source # 
type Rep CommentsRemoveContent Source # 
type Rep CommentsRemoveContent = D1 (MetaData "CommentsRemoveContent" "Network.Google.Resource.Blogger.Comments.RemoveContent" "gogol-blogger-0.3.0-BS58SVsiFJLCdRODXPa5ak" False) (C1 (MetaCons "CommentsRemoveContent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_crcBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_crcPostId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_crcCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes CommentsRemoveContent Source # 
type Scopes CommentsRemoveContent = (:) Symbol "https://www.googleapis.com/auth/blogger" ([] Symbol)
type Rs CommentsRemoveContent Source # 

Request Lenses

crcCommentId :: Lens' CommentsRemoveContent Text Source #

The ID of the comment to delete content from.