Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Marks a comment as spam.
See: Blogger API Reference for blogger.comments.markAsSpam
.
Synopsis
- type CommentsMarkAsSpamResource = "blogger" :> ("v3" :> ("blogs" :> (Capture "blogId" Text :> ("posts" :> (Capture "postId" Text :> ("comments" :> (Capture "commentId" Text :> ("spam" :> (QueryParam "alt" AltJSON :> Post '[JSON] Comment)))))))))
- commentsMarkAsSpam :: Text -> Text -> Text -> CommentsMarkAsSpam
- data CommentsMarkAsSpam
- cmasBlogId :: Lens' CommentsMarkAsSpam Text
- cmasPostId :: Lens' CommentsMarkAsSpam Text
- cmasCommentId :: Lens' CommentsMarkAsSpam Text
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
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
Request Lenses
cmasBlogId :: Lens' CommentsMarkAsSpam Text Source #
The ID of the Blog.
cmasPostId :: Lens' CommentsMarkAsSpam Text Source #
The ID of the Post.
cmasCommentId :: Lens' CommentsMarkAsSpam Text Source #
The ID of the comment to mark as spam.