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 |
Lists the transfers for a customer by source user, destination user, or status.
See: Admin Data Transfer API Reference for datatransfer.transfers.list
.
Synopsis
- type TransfersListResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (QueryParam "status" Text :> (QueryParam "oldOwnerUserId" Text :> (QueryParam "newOwnerUserId" Text :> (QueryParam "customerId" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DataTransfersListResponse))))))))))
- transfersList :: TransfersList
- data TransfersList
- tlStatus :: Lens' TransfersList (Maybe Text)
- tlOldOwnerUserId :: Lens' TransfersList (Maybe Text)
- tlNewOwnerUserId :: Lens' TransfersList (Maybe Text)
- tlCustomerId :: Lens' TransfersList (Maybe Text)
- tlPageToken :: Lens' TransfersList (Maybe Text)
- tlMaxResults :: Lens' TransfersList (Maybe Int32)
REST Resource
type TransfersListResource = "admin" :> ("datatransfer" :> ("v1" :> ("transfers" :> (QueryParam "status" Text :> (QueryParam "oldOwnerUserId" Text :> (QueryParam "newOwnerUserId" Text :> (QueryParam "customerId" Text :> (QueryParam "pageToken" Text :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] DataTransfersListResponse)))))))))) Source #
A resource alias for datatransfer.transfers.list
method which the
TransfersList
request conforms to.
Creating a Request
transfersList :: TransfersList Source #
Creates a value of TransfersList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransfersList Source #
Lists the transfers for a customer by source user, destination user, or status.
See: transfersList
smart constructor.
Instances
Request Lenses
tlOldOwnerUserId :: Lens' TransfersList (Maybe Text) Source #
Source user's profile ID.
tlNewOwnerUserId :: Lens' TransfersList (Maybe Text) Source #
Destination user's profile ID.
tlCustomerId :: Lens' TransfersList (Maybe Text) Source #
Immutable ID of the Google Apps account.
tlPageToken :: Lens' TransfersList (Maybe Text) Source #
Token to specify the next page in the list.
tlMaxResults :: Lens' TransfersList (Maybe Int32) Source #
Maximum number of results to return. Default is 100.