Current section

Files

Jump to
google_api_genomics lib google_api genomics v1 model call_set.ex
Raw

lib/google_api/genomics/v1/model/call_set.ex

# 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.CallSet do
@moduledoc """
A call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
## Attributes
- info (%{optional(String.t) => [ErrorUnknown]}): A map of additional call set information. This must be of the form map<string, string[]> (string key mapping to a list of string values). Defaults to: `null`.
- created (String.t): The date this call set was created in milliseconds from the epoch. Defaults to: `null`.
- id (String.t): The server-generated call set ID, unique across all call sets. Defaults to: `null`.
- name (String.t): The call set name. Defaults to: `null`.
- sampleId (String.t): The sample ID this call set corresponds to. Defaults to: `null`.
- variantSetIds ([String.t]): The IDs of the variant sets this call set belongs to. This field must have exactly length one, as a call set belongs to a single variant set. This field is repeated for compatibility with the [GA4GH 0.5.1 API](https://github.com/ga4gh/schemas/blob/v0.5.1/src/main/resources/avro/variants.avdl#L76). Defaults to: `null`.
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:info => map(),
:created => any(),
:id => any(),
:name => any(),
:sampleId => any(),
:variantSetIds => list(any())
}
field(:info, type: :map)
field(:created)
field(:id)
field(:name)
field(:sampleId)
field(:variantSetIds, type: :list)
end
defimpl Poison.Decoder, for: GoogleApi.Genomics.V1.Model.CallSet do
def decode(value, options) do
GoogleApi.Genomics.V1.Model.CallSet.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Genomics.V1.Model.CallSet do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end