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 |
Gets a comment by ID.
See: Drive API Reference for drive.comments.get
.
Synopsis
- type CommentsGetResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment)))))))
- commentsGet :: Text -> Text -> CommentsGet
- data CommentsGet
- cgFileId :: Lens' CommentsGet Text
- cgCommentId :: Lens' CommentsGet Text
- cgIncludeDeleted :: Lens' CommentsGet Bool
REST Resource
type CommentsGetResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment))))))) Source #
A resource alias for drive.comments.get
method which the
CommentsGet
request conforms to.
Creating a Request
Creates a value of CommentsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsGet Source #
Gets a comment by ID.
See: commentsGet
smart constructor.
Instances
Request Lenses
cgCommentId :: Lens' CommentsGet Text Source #
The ID of the comment.
cgIncludeDeleted :: Lens' CommentsGet Bool Source #
Whether to return deleted comments. Deleted comments will not include their original content.