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

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

Data CommentsMarkAsSpam Source # 
Instance details

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

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

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

Generic CommentsMarkAsSpam Source # 
Instance details

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

Associated Types

type Rep CommentsMarkAsSpam :: Type -> Type #

GoogleRequest CommentsMarkAsSpam Source # 
Instance details

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

Associated Types

type Rs CommentsMarkAsSpam :: Type #

type Scopes CommentsMarkAsSpam :: [Symbol] #

type Rep CommentsMarkAsSpam Source # 
Instance details

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

type Rep CommentsMarkAsSpam = D1 (MetaData "CommentsMarkAsSpam" "Network.Google.Resource.Blogger.Comments.MarkAsSpam" "gogol-blogger-0.4.0-J2l0mOXVNniBwK88dTMLog" False) (C1 (MetaCons "CommentsMarkAsSpam'" PrefixI True) (S1 (MetaSel (Just "_cmasBlogId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cmasPostId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_cmasCommentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes CommentsMarkAsSpam Source # 
Instance details

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

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

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

Request Lenses

cmasCommentId :: Lens' CommentsMarkAsSpam Text Source #

The ID of the comment to mark as spam.