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 repo.
See: Cloud Source Repositories API Reference for sourcerepo.projects.repos.delete
.
Synopsis
- type ProjectsReposDeleteResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))
- projectsReposDelete :: Text -> ProjectsReposDelete
- data ProjectsReposDelete
- prdXgafv :: Lens' ProjectsReposDelete (Maybe Xgafv)
- prdUploadProtocol :: Lens' ProjectsReposDelete (Maybe Text)
- prdAccessToken :: Lens' ProjectsReposDelete (Maybe Text)
- prdUploadType :: Lens' ProjectsReposDelete (Maybe Text)
- prdName :: Lens' ProjectsReposDelete Text
- prdCallback :: Lens' ProjectsReposDelete (Maybe Text)
REST Resource
type ProjectsReposDeleteResource = "v1" :> (Capture "name" 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 sourcerepo.projects.repos.delete
method which the
ProjectsReposDelete
request conforms to.
Creating a Request
Creates a value of ProjectsReposDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsReposDelete Source #
Deletes a repo.
See: projectsReposDelete
smart constructor.
Instances
Request Lenses
prdUploadProtocol :: Lens' ProjectsReposDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prdAccessToken :: Lens' ProjectsReposDelete (Maybe Text) Source #
OAuth access token.
prdUploadType :: Lens' ProjectsReposDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prdName :: Lens' ProjectsReposDelete Text Source #
The name of the repo to delete. Values are of the form `projects//repos/`.
prdCallback :: Lens' ProjectsReposDelete (Maybe Text) Source #
JSONP