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 |
Lists a file's comments.
See: Drive API Reference for drive.comments.list
.
Synopsis
- type CommentsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (QueryParam "startModifiedTime" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentList)))))))))
- commentsList :: Text -> CommentsList
- data CommentsList
- cStartModifiedTime :: Lens' CommentsList (Maybe Text)
- cPageToken :: Lens' CommentsList (Maybe Text)
- cFileId :: Lens' CommentsList Text
- cPageSize :: Lens' CommentsList Int32
- cIncludeDeleted :: Lens' CommentsList Bool
REST Resource
type CommentsListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (QueryParam "startModifiedTime" Text :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] CommentList))))))))) Source #
A resource alias for drive.comments.list
method which the
CommentsList
request conforms to.
Creating a Request
:: Text | |
-> CommentsList |
Creates a value of CommentsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CommentsList Source #
Lists a file's comments.
See: commentsList
smart constructor.
Instances
Request Lenses
cStartModifiedTime :: Lens' CommentsList (Maybe Text) Source #
The minimum value of 'modifiedTime' for the result comments (RFC 3339 date-time).
cPageToken :: Lens' CommentsList (Maybe Text) Source #
The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response.
cIncludeDeleted :: Lens' CommentsList Bool Source #
Whether to include deleted comments. Deleted comments will not include their original content.