| 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 | 
Network.Google.Resource.PlayMoviesPartner.Accounts.Avails.Get
Description
Get an Avail given its avail group id and avail id.
See: Google Play Movies Partner API Reference for playmoviespartner.accounts.avails.get.
- type AccountsAvailsGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("avails" :> (Capture "availId" 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 :> Get '[JSON] Avail))))))))))))
 - accountsAvailsGet :: Text -> Text -> AccountsAvailsGet
 - data AccountsAvailsGet
 - aagXgafv :: Lens' AccountsAvailsGet (Maybe Text)
 - aagUploadProtocol :: Lens' AccountsAvailsGet (Maybe Text)
 - aagPp :: Lens' AccountsAvailsGet Bool
 - aagAccessToken :: Lens' AccountsAvailsGet (Maybe Text)
 - aagUploadType :: Lens' AccountsAvailsGet (Maybe Text)
 - aagAvailId :: Lens' AccountsAvailsGet Text
 - aagAccountId :: Lens' AccountsAvailsGet Text
 - aagBearerToken :: Lens' AccountsAvailsGet (Maybe Text)
 - aagCallback :: Lens' AccountsAvailsGet (Maybe Text)
 
REST Resource
type AccountsAvailsGetResource = "v1" :> ("accounts" :> (Capture "accountId" Text :> ("avails" :> (Capture "availId" 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 :> Get '[JSON] Avail)))))))))))) Source #
A resource alias for playmoviespartner.accounts.avails.get method which the
 AccountsAvailsGet request conforms to.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> AccountsAvailsGet | 
Creates a value of AccountsAvailsGet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsAvailsGet Source #
Get an Avail given its avail group id and avail id.
See: accountsAvailsGet smart constructor.
Request Lenses
aagUploadProtocol :: Lens' AccountsAvailsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
aagAccessToken :: Lens' AccountsAvailsGet (Maybe Text) Source #
OAuth access token.
aagUploadType :: Lens' AccountsAvailsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
aagAvailId :: Lens' AccountsAvailsGet Text Source #
REQUIRED. Avail ID.
aagAccountId :: Lens' AccountsAvailsGet Text Source #
REQUIRED. See _General rules_ for more information about this field.
aagBearerToken :: Lens' AccountsAvailsGet (Maybe Text) Source #
OAuth bearer token.
aagCallback :: Lens' AccountsAvailsGet (Maybe Text) Source #
JSONP