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 |
Creates a new reply to a comment.
See: Drive API Reference for drive.replies.create
.
Synopsis
- type RepliesCreateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Reply :> Post '[JSON] Reply))))))))
- repliesCreate :: Reply -> Text -> Text -> RepliesCreate
- data RepliesCreate
- rcPayload :: Lens' RepliesCreate Reply
- rcFileId :: Lens' RepliesCreate Text
- rcCommentId :: Lens' RepliesCreate Text
REST Resource
type RepliesCreateResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Reply :> Post '[JSON] Reply)))))))) Source #
A resource alias for drive.replies.create
method which the
RepliesCreate
request conforms to.
Creating a Request
Creates a value of RepliesCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RepliesCreate Source #
Creates a new reply to a comment.
See: repliesCreate
smart constructor.
Instances
Request Lenses
rcCommentId :: Lens' RepliesCreate Text Source #
The ID of the comment.