# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule GoogleApi.Genomics.V1.Model.VariantSet do @moduledoc """ A variant set is a collection of call sets and variants. It contains summary statistics of those contents. A variant set belongs to a dataset. ## Attributes - datasetId (String.t): The dataset to which this variant set belongs. Defaults to: `null`. - description (String.t): A textual description of this variant set. Defaults to: `null`. - id (String.t): The server-generated variant set ID, unique across all variant sets. Defaults to: `null`. - metadata ([VariantSetMetadata]): The metadata associated with this variant set. Defaults to: `null`. - name (String.t): User-specified, mutable name. Defaults to: `null`. - referenceBounds ([ReferenceBound]): A list of all references used by the variants in a variant set with associated coordinate upper bounds for each one. Defaults to: `null`. - referenceSetId (String.t): The reference set to which the variant set is mapped. The reference set describes the alignment provenance of the variant set, while the `referenceBounds` describe the shape of the actual variant data. The reference set's reference names are a superset of those found in the `referenceBounds`. For example, given a variant set that is mapped to the GRCh38 reference set and contains a single variant on reference 'X', `referenceBounds` would contain only an entry for 'X', while the associated reference set enumerates all possible references: '1', '2', 'X', 'Y', 'MT', etc. Defaults to: `null`. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :datasetId => any(), :description => any(), :id => any(), :metadata => list(GoogleApi.Genomics.V1.Model.VariantSetMetadata.t()), :name => any(), :referenceBounds => list(GoogleApi.Genomics.V1.Model.ReferenceBound.t()), :referenceSetId => any() } field(:datasetId) field(:description) field(:id) field(:metadata, as: GoogleApi.Genomics.V1.Model.VariantSetMetadata, type: :list) field(:name) field(:referenceBounds, as: GoogleApi.Genomics.V1.Model.ReferenceBound, type: :list) field(:referenceSetId) end defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.VariantSet do def decode(value, options) do GoogleApi.Genomics.V1.Model.VariantSet.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.VariantSet do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end