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 |
Modifies a comment.
See: YouTube Data API Reference for youtube.comments.update
.
Synopsis
- type CommentsUpdateResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Put '[JSON] Comment)))))
- commentsUpdate :: Text -> Comment -> CommentsUpdate
- data CommentsUpdate
- cuPart :: Lens' CommentsUpdate Text
- cuPayload :: Lens' CommentsUpdate Comment
REST Resource
type CommentsUpdateResource = "youtube" :> ("v3" :> ("comments" :> (QueryParam "part" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Comment :> Put '[JSON] Comment))))) Source #
A resource alias for youtube.comments.update
method which the
CommentsUpdate
request conforms to.
Creating a Request
Creates a value of CommentsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsUpdate Source #
Modifies a comment.
See: commentsUpdate
smart constructor.