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 comment's replies.
See: Drive API Reference for drive.replies.list
.
Synopsis
- type RepliesListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] ReplyList))))))))))
- repliesList :: Text -> Text -> RepliesList
- data RepliesList
- rlPageToken :: Lens' RepliesList (Maybe Text)
- rlFileId :: Lens' RepliesList Text
- rlCommentId :: Lens' RepliesList Text
- rlPageSize :: Lens' RepliesList Int32
- rlIncludeDeleted :: Lens' RepliesList Bool
REST Resource
type RepliesListResource = "drive" :> ("v3" :> ("files" :> (Capture "fileId" Text :> ("comments" :> (Capture "commentId" Text :> ("replies" :> (QueryParam "pageToken" Text :> (QueryParam "pageSize" (Textual Int32) :> (QueryParam "includeDeleted" Bool :> (QueryParam "alt" AltJSON :> Get '[JSON] ReplyList)))))))))) Source #
A resource alias for drive.replies.list
method which the
RepliesList
request conforms to.
Creating a Request
Creates a value of RepliesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RepliesList Source #
Lists a comment's replies.
See: repliesList
smart constructor.
Instances
Request Lenses
rlPageToken :: Lens' RepliesList (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.
rlCommentId :: Lens' RepliesList Text Source #
The ID of the comment.
rlPageSize :: Lens' RepliesList Int32 Source #
The maximum number of replies to return per page.
rlIncludeDeleted :: Lens' RepliesList Bool Source #
Whether to include deleted replies. Deleted replies will not include their original content.