Copyright | (c) 2015 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 |
Deletes a comment.
See: YouTube Data API Reference for youtube.comments.delete
.
- type CommentsDeleteResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ()))))
- commentsDelete :: Text -> CommentsDelete
- data CommentsDelete
- cdId :: Lens' CommentsDelete Text
REST Resource
type CommentsDeleteResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "id" Text :> (QueryParam "alt" AltJSON :> Delete `[JSON]` ())))) Source
A resource alias for youtube.comments.delete
method which the
CommentsDelete
request conforms to.
Creating a Request
:: Text | |
-> CommentsDelete |
Creates a value of CommentsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsDelete Source
Deletes a comment.
See: commentsDelete
smart constructor.
Request Lenses
cdId :: Lens' CommentsDelete Text Source
The id parameter specifies the comment ID for the resource that is being deleted.