gogol-blogger-0.1.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.MarkAsSpam

Contents

Description

Marks a comment as spam.

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

Synopsis

REST Resource

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

A resource alias for blogger.comments.markAsSpam method which the CommentsMarkAsSpam request conforms to.

Creating a Request

commentsMarkAsSpam Source #

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

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

data CommentsMarkAsSpam Source #

Marks a comment as spam.

See: commentsMarkAsSpam smart constructor.

Instances

Eq CommentsMarkAsSpam Source # 
Data CommentsMarkAsSpam Source # 

Methods

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

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

toConstr :: CommentsMarkAsSpam -> Constr #

dataTypeOf :: CommentsMarkAsSpam -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsMarkAsSpam Source # 
Generic CommentsMarkAsSpam Source # 
GoogleRequest CommentsMarkAsSpam Source # 
type Rep CommentsMarkAsSpam Source # 
type Rep CommentsMarkAsSpam = D1 (MetaData "CommentsMarkAsSpam" "Network.Google.Resource.Blogger.Comments.MarkAsSpam" "gogol-blogger-0.1.0-BO8GjbI5Esh5jlPppORYc1" False) (C1 (MetaCons "CommentsMarkAsSpam'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cmasBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_cmasPostId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_cmasCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes CommentsMarkAsSpam Source # 
type Scopes CommentsMarkAsSpam = (:) Symbol "https://www.googleapis.com/auth/blogger" ([] Symbol)
type Rs CommentsMarkAsSpam Source # 

Request Lenses

cmasCommentId :: Lens' CommentsMarkAsSpam Text Source #

The ID of the comment to mark as spam.