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 space.
See: Hangouts Chat API Reference for chat.spaces.get
.
Synopsis
- type SpacesGetResource = "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] Space)))))))
- spacesGet :: Text -> SpacesGet
- data SpacesGet
- sgXgafv :: Lens' SpacesGet (Maybe Xgafv)
- sgUploadProtocol :: Lens' SpacesGet (Maybe Text)
- sgAccessToken :: Lens' SpacesGet (Maybe Text)
- sgUploadType :: Lens' SpacesGet (Maybe Text)
- sgName :: Lens' SpacesGet Text
- sgCallback :: Lens' SpacesGet (Maybe Text)
REST Resource
type SpacesGetResource = "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] Space))))))) Source #
A resource alias for chat.spaces.get
method which the
SpacesGet
request conforms to.
Creating a Request
Creates a value of SpacesGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Returns a space.
See: spacesGet
smart constructor.
Instances
Request Lenses
sgUploadProtocol :: Lens' SpacesGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
sgUploadType :: Lens' SpacesGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").