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 |
Network.Google.Resource.Plus.Comments.Get
Description
Get a comment.
See: Google+ API Reference for plus.comments.get
.
- type CommentsGetResource = "plus" :> ("v1" :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment))))
- commentsGet :: Text -> CommentsGet
- data CommentsGet
- cgCommentId :: Lens' CommentsGet Text
REST Resource
type CommentsGetResource = "plus" :> ("v1" :> ("comments" :> (Capture "commentId" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Comment)))) #
A resource alias for plus.comments.get
method which the
CommentsGet
request conforms to.
Creating a Request
Arguments
:: Text | |
-> CommentsGet |
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 #
Get a comment.
See: commentsGet
smart constructor.
Instances
Eq CommentsGet # | |
Data CommentsGet # | |
Show CommentsGet # | |
Generic CommentsGet # | |
GoogleRequest CommentsGet # | |
type Rep CommentsGet # | |
type Scopes CommentsGet # | |
type Rs CommentsGet # | |
Request Lenses
cgCommentId :: Lens' CommentsGet Text #
The ID of the comment to get.