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 |
Expresses the caller's opinion that one or more comments should be flagged as spam.
See: YouTube Data API Reference for youtube.comments.markAsSpam
.
Synopsis
- type CommentsMarkAsSpamResource = "youtube" :> ("v3" :> ("comments" :> ("markAsSpam" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ())))))
- commentsMarkAsSpam :: Text -> CommentsMarkAsSpam
- data CommentsMarkAsSpam
- cmasId :: Lens' CommentsMarkAsSpam Text
REST Resource
type CommentsMarkAsSpamResource = "youtube" :> ("v3" :> ("comments" :> ("markAsSpam" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #
A resource alias for youtube.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 #
Expresses the caller's opinion that one or more comments should be flagged as spam.
See: commentsMarkAsSpam
smart constructor.