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

Contents

Description

Marks a comment as not spam.

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

Synopsis

REST Resource

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

A resource alias for blogger.comments.approve method which the CommentsApprove request conforms to.

Creating a Request

commentsApprove Source #

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

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

data CommentsApprove Source #

Marks a comment as not spam.

See: commentsApprove smart constructor.

Instances
Eq CommentsApprove Source # 
Instance details

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

Data CommentsApprove Source # 
Instance details

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

Methods

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

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

toConstr :: CommentsApprove -> Constr #

dataTypeOf :: CommentsApprove -> DataType #

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

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

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

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

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

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

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

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

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

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

Show CommentsApprove Source # 
Instance details

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

Generic CommentsApprove Source # 
Instance details

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

Associated Types

type Rep CommentsApprove :: Type -> Type #

GoogleRequest CommentsApprove Source # 
Instance details

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

Associated Types

type Rs CommentsApprove :: Type #

type Scopes CommentsApprove :: [Symbol] #

type Rep CommentsApprove Source # 
Instance details

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

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

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

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

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

Request Lenses

caBlogId :: Lens' CommentsApprove Text Source #

The ID of the Blog.

caPostId :: Lens' CommentsApprove Text Source #

The ID of the Post.

caCommentId :: Lens' CommentsApprove Text Source #

The ID of the comment to mark as not spam.