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 |
Gets a variant by ID. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics
See: Genomics API Reference for genomics.variants.get
.
- type VariantsGetResource = "v1" :> ("variants" :> (Capture "variantId" Text :> (QueryParam "$.xgafv" Xgafv :> (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] Variant))))))))))
- variantsGet :: Text -> VariantsGet
- data VariantsGet
- vgXgafv :: Lens' VariantsGet (Maybe Xgafv)
- vgUploadProtocol :: Lens' VariantsGet (Maybe Text)
- vgPp :: Lens' VariantsGet Bool
- vgAccessToken :: Lens' VariantsGet (Maybe Text)
- vgUploadType :: Lens' VariantsGet (Maybe Text)
- vgBearerToken :: Lens' VariantsGet (Maybe Text)
- vgVariantId :: Lens' VariantsGet Text
- vgCallback :: Lens' VariantsGet (Maybe Text)
REST Resource
type VariantsGetResource = "v1" :> ("variants" :> (Capture "variantId" Text :> (QueryParam "$.xgafv" Xgafv :> (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] Variant)))))))))) Source #
A resource alias for genomics.variants.get
method which the
VariantsGet
request conforms to.
Creating a Request
Creates a value of VariantsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VariantsGet Source #
Gets a variant by ID. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics
See: variantsGet
smart constructor.
Request Lenses
vgUploadProtocol :: Lens' VariantsGet (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
vgAccessToken :: Lens' VariantsGet (Maybe Text) Source #
OAuth access token.
vgUploadType :: Lens' VariantsGet (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
vgBearerToken :: Lens' VariantsGet (Maybe Text) Source #
OAuth bearer token.
vgVariantId :: Lens' VariantsGet Text Source #
The ID of the variant.
vgCallback :: Lens' VariantsGet (Maybe Text) Source #
JSONP