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 |
Returns a membership.
See: Hangouts Chat API Reference for chat.spaces.members.get
.
Synopsis
- type SpacesMembersGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Membership)))))))
- spacesMembersGet :: Text -> SpacesMembersGet
- data SpacesMembersGet
- spaXgafv :: Lens' SpacesMembersGet (Maybe Xgafv)
- spaUploadProtocol :: Lens' SpacesMembersGet (Maybe Text)
- spaAccessToken :: Lens' SpacesMembersGet (Maybe Text)
- spaUploadType :: Lens' SpacesMembersGet (Maybe Text)
- spaName :: Lens' SpacesMembersGet Text
- spaCallback :: Lens' SpacesMembersGet (Maybe Text)
REST Resource
type SpacesMembersGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Membership))))))) Source #
A resource alias for chat.spaces.members.get
method which the
SpacesMembersGet
request conforms to.
Creating a Request
Creates a value of SpacesMembersGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SpacesMembersGet Source #
Returns a membership.
See: spacesMembersGet
smart constructor.
Instances
Request Lenses
spaUploadProtocol :: Lens' SpacesMembersGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
spaAccessToken :: Lens' SpacesMembersGet (Maybe Text) Source #
OAuth access token.
spaUploadType :: Lens' SpacesMembersGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
spaName :: Lens' SpacesMembersGet Text Source #
Required. Resource name of the membership to be retrieved, in the form "spaces/*/members/*". Example: spaces/AAAAMpdlehY/members/105115627578887013105
spaCallback :: Lens' SpacesMembersGet (Maybe Text) Source #
JSONP