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 |
Inserts a data transfer request.
See: Admin Data Transfer API Reference for datatransfer.transfers.insert
.
Synopsis
- type TransfersInsertResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DataTransfer :> Post '[JSON] DataTransfer)))))
- transfersInsert :: DataTransfer -> TransfersInsert
- data TransfersInsert
- tiPayload :: Lens' TransfersInsert DataTransfer
REST Resource
type TransfersInsertResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] DataTransfer :> Post '[JSON] DataTransfer))))) Source #
A resource alias for datatransfer.transfers.insert
method which the
TransfersInsert
request conforms to.
Creating a Request
Creates a value of TransfersInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransfersInsert Source #
Inserts a data transfer request.
See: transfersInsert
smart constructor.
Instances
Request Lenses
tiPayload :: Lens' TransfersInsert DataTransfer Source #
Multipart request metadata.