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 |
Deletes a `Registration`, causing Classroom to stop sending notifications for that `Registration`.
See: Google Classroom API Reference for classroom.registrations.delete
.
Synopsis
- type RegistrationsDeleteResource = "v1" :> ("registrations" :> (Capture "registrationId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))
- registrationsDelete :: Text -> RegistrationsDelete
- data RegistrationsDelete
- rdRegistrationId :: Lens' RegistrationsDelete Text
- rdXgafv :: Lens' RegistrationsDelete (Maybe Xgafv)
- rdUploadProtocol :: Lens' RegistrationsDelete (Maybe Text)
- rdAccessToken :: Lens' RegistrationsDelete (Maybe Text)
- rdUploadType :: Lens' RegistrationsDelete (Maybe Text)
- rdCallback :: Lens' RegistrationsDelete (Maybe Text)
REST Resource
type RegistrationsDeleteResource = "v1" :> ("registrations" :> (Capture "registrationId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))) Source #
A resource alias for classroom.registrations.delete
method which the
RegistrationsDelete
request conforms to.
Creating a Request
Creates a value of RegistrationsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data RegistrationsDelete Source #
Deletes a `Registration`, causing Classroom to stop sending notifications for that `Registration`.
See: registrationsDelete
smart constructor.
Instances
Request Lenses
rdRegistrationId :: Lens' RegistrationsDelete Text Source #
The `registration_id` of the `Registration` to be deleted.
rdUploadProtocol :: Lens' RegistrationsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
rdAccessToken :: Lens' RegistrationsDelete (Maybe Text) Source #
OAuth access token.
rdUploadType :: Lens' RegistrationsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
rdCallback :: Lens' RegistrationsDelete (Maybe Text) Source #
JSONP