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 |
Creates a new variant. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics
See: Genomics API Reference for genomics.variants.create
.
- type VariantsCreateResource = "v1" :> ("variants" :> (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 :> (ReqBody '[JSON] Variant :> Post '[JSON] Variant))))))))))
- variantsCreate :: Variant -> VariantsCreate
- data VariantsCreate
- vcXgafv :: Lens' VariantsCreate (Maybe Xgafv)
- vcUploadProtocol :: Lens' VariantsCreate (Maybe Text)
- vcPp :: Lens' VariantsCreate Bool
- vcAccessToken :: Lens' VariantsCreate (Maybe Text)
- vcUploadType :: Lens' VariantsCreate (Maybe Text)
- vcPayload :: Lens' VariantsCreate Variant
- vcBearerToken :: Lens' VariantsCreate (Maybe Text)
- vcCallback :: Lens' VariantsCreate (Maybe Text)
REST Resource
type VariantsCreateResource = "v1" :> ("variants" :> (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 :> (ReqBody '[JSON] Variant :> Post '[JSON] Variant)))))))))) Source #
A resource alias for genomics.variants.create
method which the
VariantsCreate
request conforms to.
Creating a Request
Creates a value of VariantsCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data VariantsCreate Source #
Creates a new variant. For the definitions of variants and other genomics resources, see Fundamentals of Google Genomics
See: variantsCreate
smart constructor.
Request Lenses
vcUploadProtocol :: Lens' VariantsCreate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
vcAccessToken :: Lens' VariantsCreate (Maybe Text) Source #
OAuth access token.
vcUploadType :: Lens' VariantsCreate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
vcBearerToken :: Lens' VariantsCreate (Maybe Text) Source #
OAuth bearer token.
vcCallback :: Lens' VariantsCreate (Maybe Text) Source #
JSONP