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 an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.
See: Google Classroom API Reference for classroom.invitations.get
.
Synopsis
- type InvitationsGetResource = "v1" :> ("invitations" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Invitation))))))))
- invitationsGet :: Text -> InvitationsGet
- data InvitationsGet
- igXgafv :: Lens' InvitationsGet (Maybe Xgafv)
- igUploadProtocol :: Lens' InvitationsGet (Maybe Text)
- igAccessToken :: Lens' InvitationsGet (Maybe Text)
- igUploadType :: Lens' InvitationsGet (Maybe Text)
- igId :: Lens' InvitationsGet Text
- igCallback :: Lens' InvitationsGet (Maybe Text)
REST Resource
type InvitationsGetResource = "v1" :> ("invitations" :> (Capture "id" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Invitation)))))))) Source #
A resource alias for classroom.invitations.get
method which the
InvitationsGet
request conforms to.
Creating a Request
:: Text | |
-> InvitationsGet |
Creates a value of InvitationsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data InvitationsGet Source #
Returns an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to view the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.
See: invitationsGet
smart constructor.
Instances
Request Lenses
igUploadProtocol :: Lens' InvitationsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
igAccessToken :: Lens' InvitationsGet (Maybe Text) Source #
OAuth access token.
igUploadType :: Lens' InvitationsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
igCallback :: Lens' InvitationsGet (Maybe Text) Source #
JSONP