gogol-classroom-0.1.1: Google Classroom SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Classroom.Invitations.Delete

Contents

Description

Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete 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.delete.

Synopsis

REST Resource

type InvitationsDeleteResource = "v1" :> ("invitations" :> (Capture "id" Text :> (QueryParam "$.xgafv" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))) Source #

A resource alias for classroom.invitations.delete method which the InvitationsDelete request conforms to.

Creating a Request

invitationsDelete Source #

Arguments

:: Text

idId

-> InvitationsDelete 

Creates a value of InvitationsDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data InvitationsDelete Source #

Deletes an invitation. This method returns the following error codes: * `PERMISSION_DENIED` if the requesting user is not permitted to delete the requested invitation or for access errors. * `NOT_FOUND` if no invitation exists with the requested ID.

See: invitationsDelete smart constructor.

Instances

Eq InvitationsDelete Source # 
Data InvitationsDelete Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InvitationsDelete -> c InvitationsDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InvitationsDelete #

toConstr :: InvitationsDelete -> Constr #

dataTypeOf :: InvitationsDelete -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InvitationsDelete) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InvitationsDelete) #

gmapT :: (forall b. Data b => b -> b) -> InvitationsDelete -> InvitationsDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InvitationsDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InvitationsDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> InvitationsDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InvitationsDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InvitationsDelete -> m InvitationsDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InvitationsDelete -> m InvitationsDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InvitationsDelete -> m InvitationsDelete #

Show InvitationsDelete Source # 
Generic InvitationsDelete Source # 
GoogleRequest InvitationsDelete Source # 
type Rep InvitationsDelete Source # 
type Scopes InvitationsDelete Source # 
type Scopes InvitationsDelete = (:) Symbol "https://www.googleapis.com/auth/classroom.rosters" ([] Symbol)
type Rs InvitationsDelete Source # 

Request Lenses

idUploadProtocol :: Lens' InvitationsDelete (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

idPp :: Lens' InvitationsDelete Bool Source #

Pretty-print response.

idUploadType :: Lens' InvitationsDelete (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

idId :: Lens' InvitationsDelete Text Source #

Identifier of the invitation to delete.